From b675ca477932acda8d306e4bc3b5cb3c05cd8f44 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 2 Oct 2007 14:37:30 +0000 Subject: Compile fix --- src/rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rc.c b/src/rc.c index ec479b98..ae08cfa8 100644 --- a/src/rc.c +++ b/src/rc.c @@ -1086,7 +1086,7 @@ int main (int argc, char **argv) j = (strlen ("moused.") + strlen (service) + 1); tmp = rc_xmalloc (sizeof (char *) * j); snprintf (tmp, j, "moused.%s", service); - if (rc_service_exists (tmp) && rc_allow_plug (tmp)) + if (rc_service_exists (tmp) && rc_service_plugable (tmp)) rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED); CHAR_FREE (tmp); } -- cgit v1.2.3