From: Guy Harris Date: Tue, 8 Jan 2019 07:36:35 +0000 (-0800) Subject: Fix a typo and a "my brain was on syslog time" error. X-Git-Tag: libpcap-1.10-bp~651 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/23902b0b4b72748da182f7995315476f6a668e03 Fix a typo and a "my brain was on syslog time" error. --- diff --git a/rpcapd/rpcapd.c b/rpcapd/rpcapd.c index cb855d7f..ce1b1e3f 100644 --- a/rpcapd/rpcapd.c +++ b/rpcapd/rpcapd.c @@ -1129,7 +1129,7 @@ accept_connection(SOCKET listen_sock) #ifdef _WIN32 HANDLE threadId; // handle for the subthread u_long off = 0; - struct params_copy *parms_copy = NULL; + struct params_copy *params_copy = NULL; #else pid_t pid; #endif @@ -1234,7 +1234,7 @@ accept_connection(SOCKET listen_sock) main_passive_serviceloop_thread, (void *) params_copy, 0, NULL); if (threadId == 0) { - rpcapd_log(LOG_ERROR, "Error creating the child thread"); + rpcapd_log(LOGPRIO_ERROR, "Error creating the child thread"); free(params_copy); free(hostlist_copy); sock_close(sockctrl, NULL, 0);