summaryrefslogtreecommitdiffstats
path: root/tests/nft-parsing-test.c
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2013-09-26 00:13:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-27 16:02:08 +0200
commita54e60a541f009639d596e1fecaeeab67683d258 (patch)
tree213abd63d64d7e39e5e0d3e0f1f3cca3e8bc1a58 /tests/nft-parsing-test.c
parent3e40a89d43db8cf6c5947baa7221e57e2b9cf351 (diff)
src: snprintf: fix buffer lengths
Use 'len' instead of 'size' since we need the remaining unused bytes in the buffer, not its total size. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/nft-parsing-test.c')
0 files changed, 0 insertions, 0 deletions