From b11a7282e217215dd8c919385259c56d8e12d03d Mon Sep 17 00:00:00 2001 From: stpohle Date: Mon, 12 May 2003 21:49:38 +0000 Subject: [PATCH] Cleanup, typ NR id NR won't be shown no more in the console --- src/packets.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/packets.c b/src/packets.c index 1fb30e5..d0e3a9e 100644 --- a/src/packets.c +++ b/src/packets.c @@ -920,10 +920,8 @@ inpkg_check (unsigned char typ, short int id, _net_addr * addr) /* find packet */ for (i = 0, pos = -1; (i < PKG_IN_INDEX_NUM && pos == -1); i++) if (inpkg_index[i].pl_nr == addr->pl_nr && - inpkg_index[i].typ == typ && inpkg_index[i].id == id) { - printf ("typ: %d, id: %d\n", typ, id); + inpkg_index[i].typ == typ && inpkg_index[i].id == id) pos = i; - } if (pos == -1) { /* packet unknown ... add to index */ if (++inpkg_index_pos >= PKG_IN_INDEX_NUM)