Compile fix
This commit is contained in:
parent
69ebf0c738
commit
b675ca4779
2
src/rc.c
2
src/rc.c
@ -1086,7 +1086,7 @@ int main (int argc, char **argv)
|
|||||||
j = (strlen ("moused.") + strlen (service) + 1);
|
j = (strlen ("moused.") + strlen (service) + 1);
|
||||||
tmp = rc_xmalloc (sizeof (char *) * j);
|
tmp = rc_xmalloc (sizeof (char *) * j);
|
||||||
snprintf (tmp, j, "moused.%s", service);
|
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);
|
rc_service_mark (tmp, RC_SERVICE_COLDPLUGGED);
|
||||||
CHAR_FREE (tmp);
|
CHAR_FREE (tmp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user