# endif
#endif
-int multi = 0; /* run multiple responder processes */
-
#ifdef HTTP_DAEMON
+int multi = 0; /* run multiple responder processes */
int acfd = (int) INVALID_SOCKET;
-#endif
-#ifdef HTTP_DAEMON
static int print_syslog(const char *str, size_t len, void *levPtr)
{
int level = *(int *)levPtr;
syslog(level, "%s", buf);
if (level >= LOG_ERR)
ERR_print_errors_cb(print_syslog, &level);
- }
+ } else
#endif
- if (!multi) {
+ {
BIO_printf(bio_err, "%s: ", prog);
BIO_vprintf(bio_err, fmt, ap);
BIO_printf(bio_err, "\n");