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.octo.it/?a=commitdiff_plain;h=de6a0cf70cf56af705d63bdc02e9c9d0dfb14b21;hp=42a62db99c96d77fd6dc676b76705d8d90156c23;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];