- another typo
authorMichael Wallner <mike@php.net>
Thu, 29 Dec 2005 20:42:49 +0000 (20:42 +0000)
committerMichael Wallner <mike@php.net>
Thu, 29 Dec 2005 20:42:49 +0000 (20:42 +0000)
http_encoding_api.c

index 32072641204426fc5724ea5a7f410d37c7c71248..6c8a048b28d517ff64f07cd3b80603297a6ff85d 100644 (file)
@@ -538,7 +538,7 @@ PHP_HTTP_API STATUS _http_encoding_inflate_stream_finish(http_encoding_stream *s
 {
        int status;
        
-       *decoded_len = s->stream.avail_in << 2;
+       *decoded_len = PHPSTR_LEN(s->stream.opaque) << 2;
        *decoded = emalloc_rel(*decoded_len);
        
        /* inflate remaining input */