mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Merge pull request #558 from luke-jr/bugfix_CreateThread_ThreadSocketHandler_errReporting
Bugfix: ThreadSocketHandler creation error
This commit is contained in:
commit
8bc52d0692
@ -1767,7 +1767,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))
|
||||||
|
Loading…
Reference in New Issue
Block a user