Browse Source

Bugfix: report error creating ThreadSocketHandler thread just like the rest

miguelfreitas
Luke Dashjr 13 years ago
parent
commit
65ba3e2f50
  1. 3
      src/net.cpp

3
src/net.cpp

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

Loading…
Cancel
Save