mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Bugfix: report error creating ThreadSocketHandler thread just like the rest
This commit is contained in:
parent
c7eb151ad0
commit
65ba3e2f50
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue