diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-01-20 12:55:43 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2017-01-20 12:55:43 +0100 |
commit | e43f8026923e57a5a61bff29254399fd68119f1d (patch) | |
tree | ad04c807126b000d42b9aa4e0565356dfc1df6e5 /src/lib | |
parent | a5b135e9f409d59668c52be9fac5d94dae8ebe94 (diff) | |
download | ouroboros-e43f8026923e57a5a61bff29254399fd68119f1d.tar.gz ouroboros-e43f8026923e57a5a61bff29254399fd68119f1d.zip |
lib: Fix return value and typo in fqueue
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/dev.c | 2 |
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); |