X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fzookeeper.c;h=539795c0321563ea8a1179a50470bc4dde28453a;hb=d69c181126dcf75dcc1c93954463ba32ca340b39;hp=63ee6c90040596ec54198ee2a11909611dc04ad0;hpb=0febfbd11d87acd8a0f10bbcf5d4a58bb68b8dc0;p=collectd.git diff --git a/src/zookeeper.c b/src/zookeeper.c index 63ee6c90..539795c0 100644 --- a/src/zookeeper.c +++ b/src/zookeeper.c @@ -29,7 +29,6 @@ #include "plugin.h" #include -#include #include #include #include @@ -199,11 +198,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;