From de6a0cf70cf56af705d63bdc02e9c9d0dfb14b21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tam=C3=A1s=20F=C3=B6ldesi?= Date: Wed, 8 Jul 2015 17:02:14 +0200 Subject: [PATCH] Remove POLLRDNORM (equivalent to POLLIN) --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.11.0