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