X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=364e81fe13c948eb9b6331afd1272a2f8212cb48;hp=ae08b4fa7350e5ba9452c7698035e651e536c7b4;hb=f6a58b4f97105ba3c3177116c18672f1b8ba4179;hpb=9d4113f62a7a8fe2fe3879b94a3712d11cec8726;ds=sidebyside diff --git a/http_functions.c b/http_functions.c index ae08b4f..364e81f 100644 --- a/http_functions.c +++ b/http_functions.c @@ -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;