summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47e742a)
raw | patch | inline | side by side (parent: 47e742a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Oct 2009 11:32:18 +0000 (11:32 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 4 Oct 2009 11:32:18 +0000 (11:32 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 0422389a7567706b82ae7bc1fb6a4e1065ee2e99..81c58e1ad1c3380b27cf5e6739d43f161d8b409a 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
{
ssize_t i;
+ if (sock == NULL) /* journal replay */
+ return (1);
+
if (cmd == NULL)
return (-1);