Commit 8e050391 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

wininet: De-Hungarian session member names.

parent 7243156b
......@@ -78,7 +78,7 @@ static BOOL WININET_GetProxyServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
if (NULL == session)
goto done;
hIC = session->lpAppInfo;
hIC = session->appInfo;
if (NULL == hIC)
goto done;
......@@ -115,7 +115,7 @@ static BOOL WININET_GetServer( HINTERNET hRequest, LPWSTR szBuf, DWORD sz )
if (NULL == session)
goto done;
lstrcpynW(szBuf, session->lpszHostName, sz);
lstrcpynW(szBuf, session->hostName, sz);
ret = TRUE;
......@@ -270,7 +270,7 @@ static BOOL WININET_SetAuthorization( HINTERNET hRequest, LPWSTR username,
if (proxy)
{
appinfo_t *hIC = session->lpAppInfo;
appinfo_t *hIC = session->appInfo;
HeapFree(GetProcessHeap(), 0, hIC->proxyUsername);
hIC->proxyUsername = p;
......@@ -280,11 +280,11 @@ static BOOL WININET_SetAuthorization( HINTERNET hRequest, LPWSTR username,
}
else
{
HeapFree(GetProcessHeap(), 0, session->lpszUserName);
session->lpszUserName = p;
HeapFree(GetProcessHeap(), 0, session->userName);
session->userName = p;
HeapFree(GetProcessHeap(), 0, session->lpszPassword);
session->lpszPassword = q;
HeapFree(GetProcessHeap(), 0, session->password);
session->password = q;
}
ret = TRUE;
......
......@@ -232,13 +232,13 @@ typedef struct
typedef struct
{
object_header_t hdr;
appinfo_t *lpAppInfo;
LPWSTR lpszHostName; /* the final destination of the request */
LPWSTR lpszServerName; /* the name of the server we directly connect to */
LPWSTR lpszUserName;
LPWSTR lpszPassword;
INTERNET_PORT nHostPort; /* the final destination port of the request */
INTERNET_PORT nServerPort; /* the port of the server we directly connect to */
appinfo_t *appInfo;
LPWSTR hostName; /* the final destination of the request */
LPWSTR serverName; /* the name of the server we directly connect to */
LPWSTR userName;
LPWSTR password;
INTERNET_PORT hostPort; /* the final destination port of the request */
INTERNET_PORT serverPort; /* the port of the server we directly connect to */
struct sockaddr_storage socketAddress;
socklen_t sa_len;
} http_session_t;
......
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