diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-04-28 11:23:26 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-04-28 12:59:00 +0200 |
commit | bb91cd49ae8d4a471b9c4c0c8ab86bb3940f7d69 (patch) | |
tree | 71673c44782ff85e01ab783a59a5764abe803858 /Makefile.am | |
parent | 3448b27ad573982c4e0e7ab2cc3b34edac3eea82 (diff) |
src: fix broken output handling
In 948fa3b ("Extend accounting capabilities to support quotas"), the
error handling of snprintf is incorrect since this function may
return -1 on error. Add a new SNPRINTF_CHECK() macro to offload the
complicated handling of snprintf.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions