[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690

Alexandre Julliard julliard at winehq.org
Sun Jun 17 20:01:48 UTC 2012


The following commit has been merged in the wheezy branch:
commit 3498fb2c391f9c8960fe84b7b718fc971b6d0001
Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Mar 12 12:25:14 2012 +0100

    winhttp: Fix up headers with wrong termination.
    (cherry picked from commit 189c1ca5d99026963d1598270cee8c39e1f1123a)

diff --git a/dlls/winhttp/request.c b/dlls/winhttp/request.c
index 040f79b..8870e50 100644
--- a/dlls/winhttp/request.c
+++ b/dlls/winhttp/request.c
@@ -425,6 +425,11 @@ BOOL add_request_headers( request_t *request, LPCWSTR headers, DWORD len, DWORD
         q = p;
         while (*q)
         {
+            if (q[0] == '\n' && q[1] == '\r')
+            {
+                q[0] = '\r';
+                q[1] = '\n';
+            }
             if (q[0] == '\r' && q[1] == '\n') break;
             q++;
         }

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list