From: Tobias Oetiker Date: Thu, 31 Jul 2014 13:40:26 +0000 (+0200) Subject: working on a fix for issue #521 X-Git-Tag: v1.5.0-rc1~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64215037f180a56fba0749949f2045351af73e3f;p=thirdparty%2Frrdtool-1.x.git working on a fix for issue #521 --- 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,