X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_daemon.c;h=40785b00778cc19ffc40b3e97bc687f553f5b4a9;hb=3b19d6c1658787822ebbd71bd397c6da867a0c4c;hp=9fbbc1133af5a79869a53e84657086b91d4f0b60;hpb=607eea59c2ba85c63e2de1b665b37a6093e1575c;p=rrdtool.git diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index 9fbbc11..40785b0 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -1525,6 +1525,9 @@ static int handle_request_update (listen_socket_t *sock, /* {{{ */ 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