]> git.itanic.dy.fi Git - rrdd/commit
config: Fix "specified bound 16 equals destination size" warning
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 29 Jan 2020 18:01:38 +0000 (20:01 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Wed, 29 Jan 2020 18:01:38 +0000 (20:01 +0200)
commit4000bc3be58eda7bae56460eeb2c451a8086f05b
tree4dcc4138c015d88e7f2f16d07d7bf8576731ea32
parent03aa50c69d38991d74ae341e18209f0c1344703c
config: Fix "specified bound 16 equals destination size" warning

Just subtract one byte off the strncpy destination size and the null
byte will always fit.

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