summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42a62db)
raw | patch | inline | side by side (parent: 42a62db)
author | Tamás Földesi <tamas.foldesi@more.no> | |
Wed, 8 Jul 2015 15:02:14 +0000 (17:02 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 13 Nov 2015 09:57:03 +0000 (10:57 +0100) |
src/common.c | patch | blob | history |
diff --git a/src/common.c b/src/common.c
index 7adbe2ea7dd984e9ade3ad6d7daee2709fcc0cca..64bc42daa3726b067cf6ea27d80f2c1f585ff063 100644 (file)
--- a/src/common.c
+++ b/src/common.c
/* checking for closed peer connection */
pfd.fd = fd;
- pfd.events = POLLIN | POLLHUP | POLLRDNORM;
+ pfd.events = POLLIN | POLLHUP;
pfd.revents = 0;
if (poll(&pfd, 1, 0) > 0) {
char buffer[32];