summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-01-21 17:16:58 +0000
committerSander Vrijders <[email protected]>2017-01-21 17:16:58 +0000
commit317821ca093f7c22e0bf1a9bb15e17c3c501e498 (patch)
tree819ed39b4cb7b1dd2fb82f62f516bb9fd24e8432 /src/lib/dev.c
parenta5b135e9f409d59668c52be9fac5d94dae8ebe94 (diff)
parent9c92dd66d5e7fab3a3e243abbad9a20b29891fee (diff)
downloadouroboros-317821ca093f7c22e0bf1a9bb15e17c3c501e498.tar.gz
ouroboros-317821ca093f7c22e0bf1a9bb15e17c3c501e498.zip
Merged in dstaesse/ouroboros/be-rib (pull request #350)
Be rib
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 8cd8cd53..c62fea40 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -1094,7 +1094,7 @@ int flow_event_wait(struct flow_set * set,
return -EINVAL;
if (fq->fqsize > 0)
- return 0;
+ return fq->fqsize;
assert(!fq->next);