From 124d0d8f5dc1317b3a98d86759094aa6b18e02c3 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 23 Apr 2016 10:36:50 +0200 Subject: [PATCH] write_http plugin: send_buffer_fill is unsigned --- src/write_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0