summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2021-11-30 10:55:58 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2022-01-03 17:58:23 +0100
commita5d2789474494fae044a48fbffe84601f3f40374 (patch)
tree42a272790a2861e99b1e70b7873f812f80e24feb /Makefile.am
parentbba33e0219b9a12aaf2bdd96315bd5c95026fa84 (diff)
output: JSON: optimize appending of newline to output
We have `buflen` available. We can remove `strncat` and assign the characters directly, without traversing the whole buffer. Fixes a compiler warning: logd_output_JSON.c:407:9: warning: `strncat` specified bound 1 equals source length Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions