summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-12-12 14:42:36 +0100
committerLinus Nordberg <linus@nordu.net>2011-12-12 14:42:36 +0100
commit0693da042c5bca59b3090f2eaa741f77098e9731 (patch)
tree00e2c6d6c68f6c6fe708bbfecbc1baaf3a98806d
parent85df2f023a746cf200f24d9d36f0d9eb18a673cf (diff)
Fix missing renaming of FTICKS_LOG.fticks_syslog2
Found by Maja Wolniewicz.
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 3b3a7fd..7596303 100644
--- a/debug.c
+++ b/debug.c
@@ -117,7 +117,7 @@ int debug_set_destination(char *dest, int log_type) {
if (log_type != LOG_TYPE_FTICKS)
debug_syslogfacility = LOG_DAEMON;
#if defined(WANT_FTICKS)
- else if (log_type == FTICKS_LOG)
+ else if (log_type == LOG_TYPE_FTICKS)
fticks_syslogfacility = 0;
#endif
}