diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index b8e3b4dd8e5..0118d7b846f 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -1201,7 +1201,7 @@ static UINT HTTP_DecodeBase64( LPCWSTR base64, LPSTR bin ) } /*********************************************************************** - * HTTP_InsertAuthorizationForHeader + * HTTP_InsertAuthorization * * Insert or delete the authorization field in the request header. */ @@ -1268,7 +1268,7 @@ static WCHAR *HTTP_BuildProxyRequestUrl(WININETHTTPREQW *req) size = 15; /* "http://" + sizeof(port#) + ":/\0" */ size += strlenW( session->lpszHostName ) + strlenW( req->lpszPath ); - if (!(url = HeapAlloc( GetProcessHeap(), 0, size * sizeof(WCHAR) ))) return FALSE; + if (!(url = HeapAlloc( GetProcessHeap(), 0, size * sizeof(WCHAR) ))) return NULL; sprintfW( url, format, session->lpszHostName, session->nHostPort ); if (req->lpszPath[0] != '/') strcatW( url, slash );