Removed old stupid cruft i added when i didn't understand this code. Modified: trunk/reactos/drivers/lib/oskittcp/oskittcp/uipc_mbuf.c _____
Modified: trunk/reactos/drivers/lib/oskittcp/oskittcp/uipc_mbuf.c --- trunk/reactos/drivers/lib/oskittcp/oskittcp/uipc_mbuf.c 2005-01-17 22:05:00 UTC (rev 13104) +++ trunk/reactos/drivers/lib/oskittcp/oskittcp/uipc_mbuf.c 2005-01-18 01:32:01 UTC (rev 13105) @@ -363,9 +363,7 @@
#ifdef OSKIT oskit_bufio_addref(m->m_ext.ext_bufio); #else -#ifdef __REACTOS__ - m->m_data = malloc(m->m_len); -#else +#ifndef __REACTOS__ mclrefcnt[mtocl(m->m_ext.ext_buf)]++; #endif #endif /* OSKIT */ @@ -416,6 +414,7 @@ if (m == 0) panic("m_copydata"); count = min(m->m_len - off, len); + OS_DbgPrint(OSK_MID_TRACE,("count %d len %d\n", count, len)); bcopy(mtod(m, caddr_t) + off, cp, count); len -= count; cp += count;