Remove #ifdef for HAVE_SYSLOG_H

- syslog.h is a standard posix header, this #ifdef is an artifact
  accidentally left in.
This commit is contained in:
John Weldon 2018-02-20 09:29:11 -07:00 committed by rofl0r
parent 9acb0cb16c
commit c7c88e9c59

View File

@ -783,12 +783,7 @@ static HANDLE_FUNC (handle_xtinyproxy)
static HANDLE_FUNC (handle_syslog)
{
#ifdef HAVE_SYSLOG_H
return set_bool_arg (&conf->syslog, line, &match[2]);
#else
fprintf (stderr, "Syslog support not compiled in executable.\n");
return 1;
#endif
}
static HANDLE_FUNC (handle_bindsame)