Cleanup, typ NR id NR won't be shown no more in the console

origin
stpohle 23 years ago
parent 4bd0a46712
commit b11a7282e2

@ -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)

Loading…
Cancel
Save