We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ec4fa7 + 65ba3e2 commit 8bc52d0Copy full SHA for 8bc52d0
src/net.cpp
@@ -1767,7 +1767,8 @@ void StartNode(void* parg)
1767
printf("Error: CreateThread(ThreadIRCSeed) failed\n");
1768
1769
// Send and receive from sockets, accept connections
1770
- CreateThread(ThreadSocketHandler, NULL);
+ if (!CreateThread(ThreadSocketHandler, NULL))
1771
+ printf("Error: CreateThread(ThreadSocketHandler) failed\n");
1772
1773
// Initiate outbound connections
1774
if (!CreateThread(ThreadOpenConnections, NULL))
0 commit comments