]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Much simpler handling of timestamp errors. Return an error to the user
authorTobias Oetiker <tobi@oetiker.ch>
Fri, 7 Nov 2008 13:51:24 +0000 (13:51 +0000)
committerTobias Oetiker <tobi@oetiker.ch>
Fri, 7 Nov 2008 13:51:24 +0000 (13:51 +0000)
commitc981c13b37c0521877a071544d29eca89c67aa15
treefc64550d45ae8391c96a259e587fe255b56a484c
parent4b7b59f52f3fe93e0775030edfe57fd73eaa6e0b
Much simpler handling of timestamp errors.  Return an error to the user
when any of the time stamp values are invalid.  This is similar to
RRDTool's normal behavior.  Removed the complex logic previously used to
return error codes to the user.

This solves a bug where non-advancing timestamps could have produced
incorrect error output during "BATCH" mode.  The bug was cause by using
the sock->wbuf pointer for the error output. -- kevin brintnall

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1648 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c