Much simpler handling of timestamp errors. Return an error to the user
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 7 Nov 2008 13:51:24 +0000 (13:51 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 7 Nov 2008 13:51:24 +0000 (13:51 +0000)
commitf942d3c825ad1073bb6d68edd9653b0c999bbe49
treefc64550d45ae8391c96a259e587fe255b56a484c
parent7da79af65016ae22b7d46abead4b2717ae722937
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