]> git.itanic.dy.fi Git - rrdd/commit
rrdtool: Fix bug with messed up log printing
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 14 Mar 2020 09:31:10 +0000 (11:31 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 14 Mar 2020 09:31:10 +0000 (11:31 +0200)
commite2dabbb0edbebc6e107ed8e8c385fa624ed79a04
treef54e97ca987fcc4602d2dc780f207b1a9b81b89e
parent3d128efe07b8fef4ef1910c4532ddf9de8387a32
rrdtool: Fix bug with messed up log printing

Commit 3d128efe07 forgot to take account update data strings no longer
start with "N:", but with a unix timestamp and ":". This messed up the
logs.

Fix it by parsing up to the first colon and stripping the timestamp
away.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
rrdtool.c