This commit is contained in:
Roy Marples 2008-01-18 13:30:12 +00:00
parent b6be36e5ea
commit 87f785cc31

View File

@ -396,13 +396,15 @@ bool service_plugable (const char *service)
char *token; char *token;
bool allow = true; bool allow = true;
char *match = rc_conf_value ("rc_plug_services"); char *match = rc_conf_value ("rc_plug_services");
if (! match) if (! match)
return true; return (true);
list = xstrdup (match); list = xstrdup (match);
p = list; p = list;
while ((token = strsep (&p, " "))) { while ((token = strsep (&p, " "))) {
bool truefalse = true; bool truefalse = true;
if (token[0] == '!') { if (token[0] == '!') {
truefalse = false; truefalse = false;
token++; token++;