projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pinba: only compile .proto files when enabled
[collectd.git]
/
src
/
common.c
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];