From 67b546e01469060c398a49a8ce1ff2c9073db526 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sun, 3 Sep 2023 22:03:57 +0100 Subject: libipulog: remove debugging printfs There are a couple of `printf` calls which appear to be left over debugging aids. Remove them. Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1060 Fixes: 9b5887192ed5 ("- some more work on libipulog compat API [almost finished] - improt ulog_test.c from libipulog in order to test libipulog compat API") Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- src/libipulog_compat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libipulog_compat.c') diff --git a/src/libipulog_compat.c b/src/libipulog_compat.c index a0de3cb..4efa501 100644 --- a/src/libipulog_compat.c +++ b/src/libipulog_compat.c @@ -133,10 +133,9 @@ ulog_packet_msg_t *ipulog_get_packet(struct ipulog_handle *h, struct nfulnl_msg_packet_hdr *hdr; if (!h->last_nlh) { - printf("first\n"); nlh = nfnl_get_msg_first(nflog_nfnlh(h->nfulh), buf, len); }else { -next_msg: printf("next\n"); +next_msg: nlh = nfnl_get_msg_next(nflog_nfnlh(h->nfulh), buf, len); } h->last_nlh = nlh; -- cgit v1.2.3