projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42a62db
)
Remove POLLRDNORM (equivalent to POLLIN)
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
7adbe2e
..
64bc42d
100644
(file)
--- 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];