summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-26 13:30:13 +0000
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-10-26 13:30:13 +0000
commitf60e18adc78afaf4d07a10e6fe8aec3767e0ca11 (patch)
tree59699ae6a5166b96caf9b1518f370a456530b8d2 /src/lib/dev.c
parent696511dcccfdf1dd1f86cc9ea64379f17722afee (diff)
parent188aba280f7c5b80b868cb1527fce9d45702a196 (diff)
downloadouroboros-f60e18adc78afaf4d07a10e6fe8aec3767e0ca11.tar.gz
ouroboros-f60e18adc78afaf4d07a10e6fe8aec3767e0ca11.zip
Merged in sandervrijders/ouroboros/be-ipcp-threads (pull request #283)
ipcpd: Add threadpool for main loop
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 7fc2e6b3..018cb692 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -492,9 +492,8 @@ int flow_alloc(char * dst_name, char * src_ae_name, struct qos_spec * qos)
pthread_rwlock_unlock(&ai.data_lock);
recv_msg = send_recv_irm_msg(&msg);
- if (recv_msg == NULL) {
+ if (recv_msg == NULL)
return -1;
- }
if (!recv_msg->has_api || !recv_msg->has_port_id) {
irm_msg__free_unpacked(recv_msg, NULL);