]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix call to SOCK_ASSERT().
authorGisle Vanem <[email protected]>
Tue, 14 Mar 2017 17:09:13 +0000 (10:09 -0700)
committerGuy Harris <[email protected]>
Tue, 14 Mar 2017 17:09:13 +0000 (10:09 -0700)
rpcapd/rpcapd.c

index 28055d3e71c018e17e90500fa3546e20b4a26c62..d1df031d5533a7eecfe608e6b14e4bd3c58f2a4b 100755 (executable)
@@ -274,7 +274,7 @@ int main(int argc, char *argv[], char *envp[])
 
                // If this call succeeds, it is blocking on Win32
                if (svc_start() != 1)
-                       SOCK_ASSERT(1, "Unable to start the service");
+                       SOCK_ASSERT("Unable to start the service", 1);
 
                // When the previous call returns, the entire application has to be stopped.
                exit(0);