Author: cgutman
Date: Thu Sep 11 14:15:35 2008
New Revision: 36143
URL:
http://svn.reactos.org/svn/reactos?rev=36143&view=rev
Log:
- Fix 2 typos
Modified:
branches/aicom-network-fixes/drivers/network/afd/afd/lock.c
Modified: branches/aicom-network-fixes/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/afd/afd/lock.c [iso-8859-1] Thu Sep 11
14:15:35 2008
@@ -174,8 +174,8 @@
( NonPagedPool, HandleCount * sizeof(AFD_HANDLE) );
for( i = 0; FileObjects && i < HandleCount; i++ ) {
- HandleArray[i].Status = 0;
- HandleArray[i].Events = HandleArray[i].Events;
+ FileObjects[i].Status = 0;
+ FileObjects[i].Events = HandleArray[i].Events;
FileObjects[i].Handle = 0;
if( !HandleArray[i].Handle ) continue;
if( NT_SUCCESS(Status) ) {
@@ -206,6 +206,7 @@
}
ExFreePool( HandleArray );
+ HandleArray = NULL;
}
/* Returns transitioned state or SOCKET_STATE_INVALID_TRANSITION */