jsoninfo: helpers: use sizeof() for buffers
authorFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 15:31:47 +0000 (16:31 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 3 Dec 2015 11:00:09 +0000 (12:00 +0100)
commit0027b9d133c4a6ab706c7ac88c92bfd53a1bf2bb
treee75b0253542f65490bb48c2ba7e274d62d4d0be1
parent03488d6f716cc8867eb10c34f1c4e8e1249d094b
jsoninfo: helpers: use sizeof() for buffers

Plus an extra 'ensure 0 termination'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/jsoninfo/src/olsrd_jsoninfo_helpers.c