Code

allow to restore xml files with zero row rras ... this is a degenerated case
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 22 Nov 2011 15:40:22 +0000 (15:40 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 22 Nov 2011 15:40:22 +0000 (15:40 +0000)
commitc8e9160b3e4dfe4750035fb96b3d3ac7dcfb612b
tree3e9798eeb468a2805408e2d2dc5fbe575d5517a4
parentf8c0581c361e3709cc5e7a8f5fa2b8fc9d2aa363
allow to restore xml files with zero row rras ... this is a degenerated case
that does not occure in the wild, as rrdtool prevents the creation of such
rrd files. But rrdtool restore 1.3 did allows to create them via restore.
Now this is possible again. Fix for #310.

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2212 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_restore.c