aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2011-10-05 11:06:55 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2011-10-05 11:06:55 -0400
commit030d7acf7d7b3fd51e3160a0515af93d81143716 (patch)
treea3b105248373333a27fa4bcc740b4230dca1ad04
parent20cff2ade4d686fb4f10c106dbc99b76c173102a (diff)
parent65ba3e2f5024e1e38e119a0c25d5fc30c896cd65 (diff)
Merge commit '65ba3e2f5024e1e38e119a0c25d5fc30c896cd65' into 0.4.x
-rw-r--r--src/net.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 2e257a6efc..f5e8b71c03 100644
--- 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))