Commit bebec77c authored by Maja Gorecka-Wolniewicz's avatar Maja Gorecka-Wolniewicz
Browse files

debug.c

parent 85a44bac
......@@ -91,7 +91,7 @@ int debug_set_destination(char *dest, int l) {
return 1;
}
if (!strncasecmp(dest, "x-syslog://", 11) || (l==1)) {
if (!strncasecmp(dest, "x-syslog://", 11) || ((l==1) && strncasecmp(dest, "x-syslog://", 11))) {
if (!strncasecmp(dest, "x-syslog://", 11) || ((l==1) && !strncasecmp(dest, "x-syslog://", 11))) {
dest += 11;
if (*dest == '/')
dest++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment