mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
[OSKITTCP]
- Add a sanity check - Dedicated to Caemyr svn path=/trunk/; revision=47024
This commit is contained in:
parent
fd9406974e
commit
9bab4055b3
1 changed files with 5 additions and 0 deletions
|
@ -41,5 +41,10 @@ void* oskit_bufio_create(int len)
|
|||
}
|
||||
void oskit_bufio_map(void *srcbuf, void**dstbuf, int off, int len)
|
||||
{
|
||||
#if DBG
|
||||
if (off != 0)
|
||||
panic("oskit_bufio_map: offset is non-zero");
|
||||
#endif
|
||||
|
||||
*dstbuf = srcbuf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue