Author: cgutman
Date: Sat Sep 6 15:27:56 2008
New Revision: 36001
URL:
http://svn.reactos.org/svn/reactos?rev=36001&view=rev
Log:
- Return TDI_NO_RESOURCES instead of TDI_INVALID_REQUEST when we can't allocate
memory
Modified:
branches/aicom-network-fixes/drivers/network/tcpip/tcpip/iinfo.c
Modified: branches/aicom-network-fixes/drivers/network/tcpip/tcpip/iinfo.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/tcpip/tcpip/iinfo.c [iso-8859-1]
(original)
+++ branches/aicom-network-fixes/drivers/network/tcpip/tcpip/iinfo.c [iso-8859-1] Sat Sep
6 15:27:56 2008
@@ -29,7 +29,7 @@
(PIFENTRY)ExAllocatePool( NonPagedPool,
sizeof(IFENTRY) + MAX_IFDESCR_LEN );
- if( !OutData ) return TDI_INVALID_REQUEST; /* Out of memory */
+ if( !OutData ) return TDI_NO_RESOURCES; /* Out of memory */
RtlZeroMemory( OutData, sizeof(IFENTRY) + MAX_IFDESCR_LEN );