mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 02:25:40 +00:00
- Don't continue if WarmSocketForConnection fails.
svn path=/trunk/; revision=12377
This commit is contained in:
parent
a7c62fa529
commit
be70ea04aa
1 changed files with 4 additions and 1 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
* FILE: drivers/net/afd/afd/connect.c
|
* FILE: drivers/net/afd/afd/connect.c
|
||||||
|
@ -196,6 +196,9 @@ AfdStreamSocketConnect(PDEVICE_OBJECT DeviceObject, PIRP Irp,
|
||||||
|
|
||||||
Status = WarmSocketForConnection( FCB );
|
Status = WarmSocketForConnection( FCB );
|
||||||
|
|
||||||
|
if( !NT_SUCCESS(Status) )
|
||||||
|
break;
|
||||||
|
|
||||||
FCB->State = SOCKET_STATE_CONNECTING;
|
FCB->State = SOCKET_STATE_CONNECTING;
|
||||||
|
|
||||||
TdiBuildConnectionInfo
|
TdiBuildConnectionInfo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue