summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 124d0d8)
raw | patch | inline | side by side (parent: 124d0d8)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 08:38:35 +0000 (10:38 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 23 Apr 2016 08:38:35 +0000 (10:38 +0200) |
[src/write_graphite.c:183]: (style) Checking if unsigned variable 'send_buf_fill' is less than zero.
src/write_graphite.c | patch | blob | history |
diff --git a/src/write_graphite.c b/src/write_graphite.c
index 0fa8bc326a742d2a26c1249d7f5de8bebe2ecbe5..0b8ab41c08bf10681c04987fd37c946c2dcb3a4c 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
return (0);
}
- if (cb->send_buf_fill <= 0)
+ if (cb->send_buf_fill == 0)
{
cb->send_buf_init_time = cdtime ();
return (0);