]> The Tcpdump Group git mirrors - libpcap/commitdiff
Temporarily remove the Windows "system log" code.
authorGuy Harris <[email protected]>
Tue, 8 Jan 2019 07:26:53 +0000 (23:26 -0800)
committerGuy Harris <[email protected]>
Tue, 8 Jan 2019 07:26:53 +0000 (23:26 -0800)
Needs more work; this should fix compile errors for now.

rpcapd/log.c

index 0de23318f946830261f5295bfacddf5aaf260185..0dead19c56842dc62253aa6a65a5d7404f8e52af 100644 (file)
@@ -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,