projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8020f
)
zookeeper plugin: remove dead code
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Dec 2015 14:02:43 +0000
(15:02 +0100)
committer
Florian Forster
<octo@collectd.org>
Sat, 5 Dec 2015 20:41:14 +0000
(21:41 +0100)
status cannot be 0 inside the loop
CID #37964
Signed-off-by: Florian Forster <octo@collectd.org>
src/zookeeper.c
patch
|
blob
|
history
diff --git
a/src/zookeeper.c
b/src/zookeeper.c
index
63ee6c9
..
5aa94e3
100644
(file)
--- a/
src/zookeeper.c
+++ b/
src/zookeeper.c
@@
-199,11
+199,6
@@
static int zookeeper_query (char *buffer, size_t buffer_size)
}
buffer_fill += (size_t) status;
- if (status == 0)
- {
- /* done reading from the socket */
- break;
- }
} /* while (recv) */
status = 0;