commit | 5550cda721186f9766d140e16e49f462635a561b | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 03 15:28:57 2016 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Wed Feb 03 15:28:57 2016 +0100 |
tree | 5ef003cd195c2a854616ec87051b816ff8cd1a5d | |
parent | 051d35bb2839299e056da7a3cffa988f9981a769 [diff] |
io BUGFIX uninitialized value
diff --git a/src/io.c b/src/io.c index b80817d..2620c54 100644 --- a/src/io.c +++ b/src/io.c
@@ -422,6 +422,8 @@ /* fake it */ ret = 1; fds.revents = POLLIN; + } else { /* ret == 0 */ + fds.revents = 0; } /* fallthrough */ #endif