projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
this ensures that the response is protocol-compliant even if additional
[rrdtool.git]
/
src
/
rrd_daemon.c
diff --git
a/src/rrd_daemon.c
b/src/rrd_daemon.c
index
b2cee95
..
3e92530
100644
(file)
--- a/
src/rrd_daemon.c
+++ b/
src/rrd_daemon.c
@@
-488,7
+488,7
@@
static int send_response (listen_socket_t *sock, response_code rc,
return -1;
}
- if (sock->wbuf != NULL)
+ if (sock->wbuf != NULL
&& rc == RESP_OK
)
{
wrote = 0;
while (wrote < sock->wbuf_len)