]> granicus.if.org Git - curl/commitdiff
Dan Fandrich's fix for libz 1.1 and "extra field" usage in a gzip stream
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Nov 2004 09:44:54 +0000 (09:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Nov 2004 09:44:54 +0000 (09:44 +0000)
lib/content_encoding.c

index ac17befaf2162457a2a7c0715b9ded54c1b82b87..473b82b1ed6ce2c853c23088e3b56d7445226319 100644 (file)
@@ -210,6 +210,7 @@ static enum {
       return GZIP_UNDERFLOW;
 
     len -= (extra_len + 2);
+    data += (extra_len + 2);
   }
 
   if (flags & ORIG_NAME) {