summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/connmgr.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-08-28 20:12:55 +0200
committerdimitri staessens <[email protected]>2017-08-28 20:49:34 +0200
commit999b5dec615ce4cfb30ee909bdd16e79a5e2a1ce (patch)
tree3c61b136719f262059c9485d789244a9aff5ef8d /src/ipcpd/normal/connmgr.c
parent9de8dc4948cf7ce239232aae0889c39ffa39ede2 (diff)
downloadouroboros-999b5dec615ce4cfb30ee909bdd16e79a5e2a1ce.tar.gz
ouroboros-999b5dec615ce4cfb30ee909bdd16e79a5e2a1ce.zip
ipcpd: Address comments on 176698e
Diffstat (limited to 'src/ipcpd/normal/connmgr.c')
-rw-r--r--src/ipcpd/normal/connmgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ipcpd/normal/connmgr.c b/src/ipcpd/normal/connmgr.c
index 11f83247..fa43b97a 100644
--- a/src/ipcpd/normal/connmgr.c
+++ b/src/ipcpd/normal/connmgr.c
@@ -207,9 +207,8 @@ int connmgr_ae_init(enum ae_id id,
ae = connmgr.aes + id;
- if (pthread_mutex_init(&ae->lock, NULL)) {
+ if (pthread_mutex_init(&ae->lock, NULL))
return -1;
- }
if (pthread_cond_init(&ae->cond, NULL)) {
pthread_mutex_destroy(&ae->lock);