summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-11-30 15:01:06 +0100
committerMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-11-30 15:01:06 +0100
commitbebec77c4b1cb5043e4f9983cf97d560791898d8 (patch)
treee66bd5b1fb236d6251e39028fab19f3d5b715672 /debug.c
parent85a44bac2275381a5ed210c2f92c45cf4040bd64 (diff)
debug.c
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 28a8661..aca68ca 100644
--- a/debug.c
+++ b/debug.c
@@ -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++;