From: Serge Gautherie Subject: [PATCH] wininet: Add spaces to 3 ERR() and fix 1 'escape' copypasta. Message-Id: <20210207120555.3952-1-winehq-git_serge_180711@gautherie.fr> Date: Sun, 7 Feb 2021 13:05:55 +0100 Signed-off-by: Serge Gautherie --- dlls/wininet/http.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index c770c31..ff8db3b 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -3389,7 +3389,7 @@ static DWORD HTTP_HttpOpenRequestW(http_session_t *session, URL_ESCAPE_SPACES_ONLY); if (rc != S_OK) { - ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(lpszObjectName),rc); + ERR("Unable to canonicalize string! (%s) (%d)\n", debugstr_w(lpszObjectName), rc); lstrcpyW(request->path,lpszObjectName); } }else { @@ -4204,13 +4204,13 @@ static DWORD HTTP_HandleRedirect(http_request_t *request, WCHAR *url) path = heap_strndupW(urlComponents.lpszUrlPath, urlComponents.dwUrlPathLength); rc = UrlEscapeW(path, dummy, &needed, URL_ESCAPE_SPACES_ONLY); if (rc != E_POINTER) - ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(path),rc); + ERR("Unable to escape string! (%s) (%d)\n", debugstr_w(path), rc); request->path = heap_alloc(needed*sizeof(WCHAR)); rc = UrlEscapeW(path, request->path, &needed, URL_ESCAPE_SPACES_ONLY); if (rc != S_OK) { - ERR("Unable to escape string!(%s) (%d)\n",debugstr_w(path),rc); + ERR("Unable to escape string! (%s) (%d)\n", debugstr_w(path), rc); lstrcpyW(request->path, path); } heap_free(path); -- 2.10.0.windows.1