Commit in reactos/drivers/net/afd/afd on MAIN
connect.c+4-11.10 -> 1.11
- Don't continue if WarmSocketForConnection fails.

reactos/drivers/net/afd/afd
connect.c 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- connect.c	25 Dec 2004 21:30:17 -0000	1.10
+++ connect.c	28 Dec 2004 11:41:29 -0000	1.11
@@ -1,4 +1,4 @@
-/* $Id: connect.c,v 1.10 2004/12/25 21:30:17 arty Exp $
+/* $Id: connect.c,v 1.11 2004/12/28 11:41:29 navaraf Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/connect.c
@@ -196,6 +196,9 @@
 	
 	Status = WarmSocketForConnection( FCB );
 
+	if( !NT_SUCCESS(Status) )
+	    break;
+
 	FCB->State = SOCKET_STATE_CONNECTING;
 
 	TdiBuildConnectionInfo
CVSspam 0.2.8