From: Guy Harris Date: Tue, 8 Jan 2019 07:26:53 +0000 (-0800) Subject: Temporarily remove the Windows "system log" code. X-Git-Tag: libpcap-1.10-bp~652 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/eb80a9bc301b7e63cf2c3c96025d137231b1df2e Temporarily remove the Windows "system log" code. Needs more work; this should fix compile errors for now. --- diff --git a/rpcapd/log.c b/rpcapd/log.c index 0de23318..0dead19c 100644 --- a/rpcapd/log.c +++ b/rpcapd/log.c @@ -67,6 +67,7 @@ static void rpcapd_vlog_systemlog(log_priority, static void rpcapd_vlog_systemlog(log_priority priority, const char *message, va_list ap) { +#if 0 static int initialized = 0; HKEY hey_handle; static HANDLE log_handle; @@ -137,6 +138,9 @@ static void rpcapd_vlog_systemlog(log_priority priority, const char *message, */ (void) ReportEvent(log_handle, eventlog_type, 0, event_id, NULL, 1, 0, strings, NULL); +#else + rpcapd_vlog_stderr(priority, message, ap); +#endif } #else static void rpcapd_vlog_systemlog(log_priority priority, const char *message,