winhttp: Pass length in WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER callback.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a98d5f524
commit
57a1936053
|
@ -1592,7 +1592,8 @@ static DWORD open_connection( struct request *request )
|
|||
|
||||
TRACE("connecting to %s:%u\n", debugstr_w(addressW), port);
|
||||
|
||||
send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER, addressW, 0 );
|
||||
len = lstrlenW( addressW ) + 1;
|
||||
send_callback( &request->hdr, WINHTTP_CALLBACK_STATUS_CONNECTING_TO_SERVER, addressW, len );
|
||||
|
||||
if ((ret = netconn_create( host, &connect->sockaddr, request->connect_timeout, &netconn )))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue