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)