- move the chunked decoder to the encoding_api
[m6w6/ext-http] / http_functions.c
index ae08b4fa7350e5ba9452c7698035e651e536c7b4..364e81fe13c948eb9b6331afd1272a2f8212cb48 100644 (file)
@@ -755,7 +755,7 @@ PHP_FUNCTION(http_chunked_decode)
                RETURN_FALSE;
        }
 
-       if (NULL != http_chunked_decode(encoded, encoded_len, &decoded, &decoded_len)) {
+       if (NULL != http_encoding_dechunk(encoded, encoded_len, &decoded, &decoded_len)) {
                RETURN_STRINGL(decoded, (int) decoded_len, 0);
        } else {
                RETURN_FALSE;