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