diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-11 14:01:20 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-11 14:01:20 +0200 |
commit | 899706c44d6391ca0f0ea83609e507b986c88789 (patch) | |
tree | 63fa66de6c9d255371db3e9422266a2ac69fe3b0 /utils | |
parent | 4eb7c493dabf47fc559b7a41e583fa656d616e05 (diff) |
nflog: consistent nflog_snprintf_xml() return value with snprintf()
With this patch, nflog_snprintf_xml() returns the number of characters
printed. If the output was truncated, then the return value is the
number of characters that would have been written if enough space
had been available. This makes nflog_snprintf_xml() consistent with
the behaviour of snprintf().
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions