]> The Tcpdump Group git mirrors - libpcap/commitdiff
Wrong #define name for an invalid Windows API handle.
authorGuy Harris <[email protected]>
Sat, 12 Jan 2019 05:16:43 +0000 (21:16 -0800)
committerGuy Harris <[email protected]>
Sat, 12 Jan 2019 05:16:43 +0000 (21:16 -0800)
rpcapd/daemon.c

index cc56d1a2303af2724f60353e31c4aa2967927351..90fcca775627cec8c24440e76e036c8b4e7c1c79 100644 (file)
@@ -2623,7 +2623,7 @@ static void session_close(struct session *session)
                //
                CloseHandle(session->thread);
                session->have_thread = 0;
-               session->thread = INVALID_HANDLE;
+               session->thread = INVALID_HANDLE_VALUE;
 #else
                //
                // Send a SIGUSR1 signal to the thread, so that, if