mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[LWIP]
Fix msvc build svn path=/trunk/; revision=53140
This commit is contained in:
parent
dc37c61e1d
commit
fc43b3ef78
1 changed files with 86 additions and 85 deletions
|
@ -516,6 +516,7 @@ void
|
|||
LibTCPConnectCallback(void *arg)
|
||||
{
|
||||
struct lwip_callback_msg *msg = arg;
|
||||
err_t Error;
|
||||
|
||||
ASSERT(arg);
|
||||
|
||||
|
@ -528,9 +529,9 @@ LibTCPConnectCallback(void *arg)
|
|||
tcp_recv((PTCP_PCB)msg->Input.Connect.Connection->SocketContext, InternalRecvEventHandler);
|
||||
tcp_sent((PTCP_PCB)msg->Input.Connect.Connection->SocketContext, InternalSendEventHandler);
|
||||
|
||||
err_t Error = tcp_connect((PTCP_PCB)msg->Input.Connect.Connection->SocketContext,
|
||||
msg->Input.Connect.IpAddress, ntohs(msg->Input.Connect.Port),
|
||||
InternalConnectEventHandler);
|
||||
Error = tcp_connect((PTCP_PCB)msg->Input.Connect.Connection->SocketContext,
|
||||
msg->Input.Connect.IpAddress, ntohs(msg->Input.Connect.Port),
|
||||
InternalConnectEventHandler);
|
||||
|
||||
msg->Output.Connect.Error = Error == ERR_OK ? ERR_INPROGRESS : Error;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue