summaryrefslogtreecommitdiff
path: root/src/lib/shm_flow_set.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-08-22 18:52:32 +0200
committerSander Vrijders <[email protected]>2017-08-22 18:57:04 +0200
commit494394829de2a0aa96321103ad3734c3e8e5280e (patch)
treed8c3193215c893f403ed7ea0a6a6a7ce7ec44263 /src/lib/shm_flow_set.c
parent941a34c657f6860034315d11c79767dd37fba0c7 (diff)
downloadouroboros-494394829de2a0aa96321103ad3734c3e8e5280e.tar.gz
ouroboros-494394829de2a0aa96321103ad3734c3e8e5280e.zip
lib: Fix timeout value of flow_event_wait
shm_flow_set_wait was called with a timeout even though flow_event_wait was called with timeout NULL.
Diffstat (limited to 'src/lib/shm_flow_set.c')
-rw-r--r--src/lib/shm_flow_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/shm_flow_set.c b/src/lib/shm_flow_set.c
index f4a70689..78fdce36 100644
--- a/src/lib/shm_flow_set.c
+++ b/src/lib/shm_flow_set.c
@@ -364,7 +364,7 @@ ssize_t shm_flow_set_wait(const struct shm_flow_set * set,
set->lock,
abstime);
#ifdef HAVE_CANCEL_BUG
- if (ret == -ETIMEDOUT)
+ if (ret == -ETIMEDOUT)
pthread_testcancel();
#endif
} else {