summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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++;