mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
Removed old stupid cruft i added when i didn't understand this code.
svn path=/trunk/; revision=13105
This commit is contained in:
parent
2215233073
commit
3fd5cf1bd2
1 changed files with 2 additions and 3 deletions
|
@ -363,9 +363,7 @@ m_copym(m, off0, len, wait)
|
||||||
#ifdef OSKIT
|
#ifdef OSKIT
|
||||||
oskit_bufio_addref(m->m_ext.ext_bufio);
|
oskit_bufio_addref(m->m_ext.ext_bufio);
|
||||||
#else
|
#else
|
||||||
#ifdef __REACTOS__
|
#ifndef __REACTOS__
|
||||||
m->m_data = malloc(m->m_len);
|
|
||||||
#else
|
|
||||||
mclrefcnt[mtocl(m->m_ext.ext_buf)]++;
|
mclrefcnt[mtocl(m->m_ext.ext_buf)]++;
|
||||||
#endif
|
#endif
|
||||||
#endif /* OSKIT */
|
#endif /* OSKIT */
|
||||||
|
@ -416,6 +414,7 @@ m_copydata(m, off, len, cp)
|
||||||
if (m == 0)
|
if (m == 0)
|
||||||
panic("m_copydata");
|
panic("m_copydata");
|
||||||
count = min(m->m_len - off, len);
|
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);
|
bcopy(mtod(m, caddr_t) + off, cp, count);
|
||||||
len -= count;
|
len -= count;
|
||||||
cp += count;
|
cp += count;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue