Bugfix: report error creating ThreadSocketHandler thread just like the rest

This commit is contained in:
Luke Dashjr 2011-10-03 23:45:42 -04:00
parent c7eb151ad0
commit 65ba3e2f50

View File

@ -1713,7 +1713,8 @@ void StartNode(void* parg)
printf("Error: CreateThread(ThreadIRCSeed) failed\n"); printf("Error: CreateThread(ThreadIRCSeed) failed\n");
// Send and receive from sockets, accept connections // Send and receive from sockets, accept connections
CreateThread(ThreadSocketHandler, NULL); if (!CreateThread(ThreadSocketHandler, NULL))
printf("Error: CreateThread(ThreadSocketHandler) failed\n");
// Initiate outbound connections // Initiate outbound connections
if (!CreateThread(ThreadOpenConnections, NULL)) if (!CreateThread(ThreadOpenConnections, NULL))