summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4d37dde)
raw | patch | inline | side by side (parent: 4d37dde)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 16 Oct 2008 06:11:54 +0000 (06:11 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 16 Oct 2008 06:11:54 +0000 (06:11 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 9fbbc1133af5a79869a53e84657086b91d4f0b60..40785b00778cc19ffc40b3e97bc687f553f5b4a9 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
if (values_num < 1)
{
+ /* journal replay mode */
+ if (sock == NULL) return RESP_ERR;
+
/* if we had only one update attempt, then return the full
error message... try to get the most information out
of the limited error space allowed by the protocol