projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
redis: change expired_keys type from GAUGE to DERIVE
[collectd.git]
/
src
/
write_graphite.c
diff --git
a/src/write_graphite.c
b/src/write_graphite.c
index
41451a8
..
a7eef3f
100644
(file)
--- a/
src/write_graphite.c
+++ b/
src/write_graphite.c
@@
-132,7
+132,7
@@
static int wg_send_buffer (struct wg_callback *cb)
ssize_t status = 0;
status = swrite (cb->sock_fd, cb->send_buf, strlen (cb->send_buf));
- if (status
<
0)
+ if (status
!=
0)
{
const char *protocol = cb->protocol ? cb->protocol : WG_DEFAULT_PROTOCOL;