]> git.itanic.dy.fi Git - rrdd/commit
rrdtool_draw_image: Remove excess strlen() call
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 9 Jul 2016 10:19:02 +0000 (13:19 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sat, 9 Jul 2016 10:19:02 +0000 (13:19 +0300)
commit48d822f43167e9ea765ae7de341eeef8de07a013
treed6297e14dbd2722b03bec86e7135355ae75699f8
parent3c0afcc5dbf5d8a7eaa2104bfb2532ff5bbdddeb
rrdtool_draw_image: Remove excess strlen() call

strncat is already good enough ensuring target buffer will not
overflow. There is no need to use strlen at all.

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