Author: cgutman
Date: Sun Apr 25 23:00:04 2010
New Revision: 47024
URL:
http://svn.reactos.org/svn/reactos?rev=47024&view=rev
Log:
[OSKITTCP]
- Add a sanity check
- Dedicated to Caemyr
Modified:
trunk/reactos/lib/drivers/oskittcp/oskittcp/osenv.c
Modified: trunk/reactos/lib/drivers/oskittcp/oskittcp/osenv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/oskittcp/oskit…
==============================================================================
--- trunk/reactos/lib/drivers/oskittcp/oskittcp/osenv.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/oskittcp/oskittcp/osenv.c [iso-8859-1] Sun Apr 25 23:00:04
2010
@@ -41,5 +41,10 @@
}
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;
}