From: Ruben Kerkhof Date: Sat, 23 Apr 2016 08:36:50 +0000 (+0200) Subject: write_http plugin: send_buffer_fill is unsigned X-Git-Tag: collectd-5.6.0~329^2~40 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=124d0d8f5dc1317b3a98d86759094aa6b18e02c3;p=collectd.git write_http plugin: send_buffer_fill is unsigned --- diff --git a/src/write_http.c b/src/write_http.c index 9a405117..8dd37c45 100644 --- a/src/write_http.c +++ b/src/write_http.c @@ -240,7 +240,7 @@ static int wh_flush_nolock (cdtime_t timeout, wh_callback_t *cb) /* {{{ */ if (cb->format == WH_FORMAT_COMMAND) { - if (cb->send_buffer_fill <= 0) + if (cb->send_buffer_fill == 0) { cb->send_buffer_init_time = cdtime (); return (0);