git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c7eb151
)
Bugfix: report error creating ThreadSocketHandler thread just like the rest
author
Luke Dashjr
<luke-jr+git@utopios.org>
Tue, 4 Oct 2011 03:45:42 +0000 (23:45 -0400)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Tue, 4 Oct 2011 03:45:42 +0000 (23:45 -0400)
src/net.cpp
patch
|
blob
|
history
diff --git
a/src/net.cpp
b/src/net.cpp
index
2e257a6
..
f5e8b71
100644
(file)
--- a/
src/net.cpp
+++ b/
src/net.cpp
@@
-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))