Author: cgutman
Date: Sat Sep 6 15:37:06 2008
New Revision: 36002
URL:
http://svn.reactos.org/svn/reactos?rev=36002&view=rev
Log:
- Return NDIS_STATUS_RESOURCES not STATUS_NO_MEMORY
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/buffer.c [iso-8859-1] Sat Sep
6 15:37:06 2008
@@ -319,7 +319,7 @@
if( Copy ) {
NewBuf = ExAllocatePool( NonPagedPool, Length );
- if( !NewBuf ) return STATUS_NO_MEMORY;
+ if( !NewBuf ) return NDIS_STATUS_RESOURCES;
RtlCopyMemory( NewBuf, Data, Length );
} else NewBuf = Data;