Fix to bug #479, http://bugs.skysql.com/show_bug.cgi?id=479
service.c was counting unfound filters towards the filter chain size.
This commit is contained in:
@ -675,6 +675,7 @@ int n = 0;
|
|||||||
"Unable to find filter '%s' for service '%s'\n",
|
"Unable to find filter '%s' for service '%s'\n",
|
||||||
trim(ptr), service->name
|
trim(ptr), service->name
|
||||||
)));
|
)));
|
||||||
|
n--;
|
||||||
}
|
}
|
||||||
flist[n] = NULL;
|
flist[n] = NULL;
|
||||||
ptr = strtok_r(NULL, "|", &brkt);
|
ptr = strtok_r(NULL, "|", &brkt);
|
||||||
|
|||||||
Reference in New Issue
Block a user