summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-07-11 13:22:29 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-07-11 13:58:59 +0200
commitb775a05ba376c68615fe5134ce291889c035f844 (patch)
tree7dc6733f9302bce1160e8e4079d76b0132413b0e /COPYING
parentb4fae77ab6e9e0c6fd83c35805dd7ba0169c7871 (diff)
nfq: consistent nfq_snprintf_xml() return value with snprintf()
With this patch, nfq_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 nfq_snprintf_xml() consistent with the behaviour of snprintf(). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions