From: Tamás Földesi Date: Wed, 8 Jul 2015 15:02:14 +0000 (+0200) Subject: Remove POLLRDNORM (equivalent to POLLIN) X-Git-Tag: collectd-5.5.1~48^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de6a0cf70cf56af705d63bdc02e9c9d0dfb14b21;p=collectd.git Remove POLLRDNORM (equivalent to POLLIN) --- diff --git a/src/common.c b/src/common.c index 7adbe2ea..64bc42da 100644 --- a/src/common.c +++ b/src/common.c @@ -274,7 +274,7 @@ ssize_t swrite (int fd, const void *buf, size_t count) /* 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];