Commit 62d6b24e authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

wininet: Use the correct type for sock_namelen in FTP_Connect.

parent 9f157e5b
...@@ -2433,7 +2433,7 @@ HINTERNET FTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName, ...@@ -2433,7 +2433,7 @@ HINTERNET FTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
static const WCHAR szEmpty[] = {'\0'}; static const WCHAR szEmpty[] = {'\0'};
struct sockaddr_in socketAddr; struct sockaddr_in socketAddr;
INT nsocket = -1; INT nsocket = -1;
UINT sock_namelen; socklen_t sock_namelen;
BOOL bSuccess = FALSE; BOOL bSuccess = FALSE;
ftp_session_t *lpwfs = NULL; ftp_session_t *lpwfs = NULL;
char szaddr[INET_ADDRSTRLEN]; char szaddr[INET_ADDRSTRLEN];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment