From 64215037f180a56fba0749949f2045351af73e3f Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Thu, 31 Jul 2014 15:40:26 +0200 Subject: [PATCH] working on a fix for issue #521 --- src/rrd_daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index aa4df9f1..886e65d8 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -1512,7 +1512,7 @@ static int handle_request_update (HANDLER_PROTO) /* {{{ */ /* make sure update time is always moving forward. We use double here since update does support subsecond precision for timestamps ... */ - if ( ( rrd_strtoding( value, &eostamp, &stamp, "error while parsing time stamp" ) != 2 ) || *eostamp != ':') + if ( ( rrd_strtoding( value, &eostamp, &stamp, "error while parsing time stamp" ) != 1 ) || *eostamp != ':') { pthread_mutex_unlock(&cache_lock); return send_response(sock, RESP_ERR, -- 2.47.3