[PATCH] wininet: Add spaces to 3 ERR() and fix 1 'escape' copypasta.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Sun Feb 7 06:05:55 CST 2021


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 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




More information about the wine-devel mailing list