--- build-x86_64/lib/http.c	2012-03-21 14:15:50.000000000 +0200
+++ build-ppc750/lib/http.c	2012-03-21 13:39:24.000000000 +0200
@@ -1861,7 +1861,7 @@ CURLcode Curl_http(struct connectdata *c
          the bracket has been closed */
       int startsearch = 0;
       if(*cookiehost == '[') {
-        cookiehost++;
+        memmove(cookiehost, cookiehost + 1, strlen(cookiehost) - 1);
         char *closingbracket = strchr(cookiehost, ']');
         if(closingbracket)
           *closingbracket = 0;
