diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-09-28 22:46:15 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-09-28 22:46:15 +0200 |
commit | 1c2772d3e5f77022649410d9f5787221cc38573f (patch) | |
tree | 120c1a598ef5b8f5a4c56487839d2ace1fa42f46 /include/conntrack.h | |
parent | 7a399ccded7086436dff2b55e6461b520cc952f6 (diff) | |
download | conntrack-tools-1c2772d3e5f77022649410d9f5787221cc38573f.tar.gz conntrack-tools-1c2772d3e5f77022649410d9f5787221cc38573f.zip |
conntrack: cleanup XML header handling
This patch removes the use of snprintf and directly print the XML header
to the standard output. This simplifies the handling.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/conntrack.h')
-rw-r--r-- | include/conntrack.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/conntrack.h b/include/conntrack.h index e8059c8..69c2317 100644 --- a/include/conntrack.h +++ b/include/conntrack.h @@ -192,10 +192,4 @@ extern void register_udp(void); extern void register_icmp(void); extern void register_icmpv6(void); -#define BUFFER_SIZE(ret, len, offset) \ - if (ret > len) \ - ret = len; \ - offset += ret; \ - len -= ret; - #endif |