return -1;
}
- pid = strtol(pidbuf, &t, 10);
+ pid = (pid_t)strtol(pidbuf, &t, 10);
if (*t && *t != '\n') {
return -1;
26 September 2007: Wouter
- SIGHUP will reopen the log file.
- Option to log to syslog.
+ - please lint, fixup tests (that went to syslog on open, oops).
25 September 2007: Wouter
- tests for NSEC3. Fixup bitmap checks for NSEC3.
key_created = 1;
ub_thread_key_create(&logkey, NULL);
}
- if(logfile || log_to_syslog)
+ if(logfile
+#ifdef HAVE_SYSLOG_H
+ || log_to_syslog
+#endif
+ )
verbose(VERB_DETAIL, "switching log to %s",
use_syslog?"syslog":(filename&&filename[0]?filename:"stderr"));
if(logfile && logfile != stderr)