Skip to contentSkip to conversation

libipulog: remove debugging printfs

PATCH Applied Jeremy Sowden 2 participants 2 messages Sep 3, 2023 – Sep 4, 2023 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libipulog: remove debugging printfs

There are a couple of printf calls which appear to be left over debugging aids. Remove them.

Fixes 9b5887192ed5 ("- some more work on libipulog compat API [almost finished] - improt ulog_test.c from libipulog in order to test libipulog compat API")
---
 src/libipulog_compat.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
src/libipulog_compat.c +1 -2
index a0de3cb78b68..4efa5012f197 100644
@@ -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;
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw
Quoted 2 lines · Jeremy Sowden

There are a couple of printf calls which appear to be left over debugging aids. Remove them.

Applied, thanks