projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rrdcached(1): Document which commands are aware of the daemon.
[rrdtool.git]
/
src
/
rrd_client.c
diff --git
a/src/rrd_client.c
b/src/rrd_client.c
index
d9a7468
..
f1253f8
100644
(file)
--- a/
src/rrd_client.c
+++ b/
src/rrd_client.c
@@
-99,7
+99,11
@@
static ssize_t swrite (const void *buf, size_t count) /* {{{ */
continue;
if (status < 0)
+ {
+ close (sd);
+ sd = -1;
return (status);
+ }
nleft = nleft - status;
ptr = ptr + status;