summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-07-12 10:13:50 +0000
committerSander Vrijders <[email protected]>2017-07-12 10:13:50 +0000
commit9bbc7b4ba57a13e425fcfdfd6bd7ba5248255721 (patch)
treebccd240c8a6fd59c283dcb2a325e1815bf478310 /src/ipcpd/normal
parent35b8b38606721b16a2fff52046096b603d7718f7 (diff)
parent9f553e440bd540ac46c98fa13ddf93e81daff221 (diff)
downloadouroboros-9bbc7b4ba57a13e425fcfdfd6bd7ba5248255721.tar.gz
ouroboros-9bbc7b4ba57a13e425fcfdfd6bd7ba5248255721.zip
Merged in dstaesse/ouroboros/be-fixes (pull request #526)
Be fixes
Diffstat (limited to 'src/ipcpd/normal')
-rw-r--r--src/ipcpd/normal/connmgr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipcpd/normal/connmgr.c b/src/ipcpd/normal/connmgr.c
index 00af3db4..6259969a 100644
--- a/src/ipcpd/normal/connmgr.c
+++ b/src/ipcpd/normal/connmgr.c
@@ -169,7 +169,8 @@ int connmgr_init(void)
int connmgr_start(void)
{
- pthread_create(&connmgr.acceptor, NULL, flow_acceptor, NULL);
+ if (pthread_create(&connmgr.acceptor, NULL, flow_acceptor, NULL))
+ return -1;
return 0;
}