X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_encoding.c;h=e7557a0852c0daeea1679ee837d5cda13c490727;hp=ffa10b379a2467f0222141cc6d2b38694df6efd4;hb=4bf1b4570329514fa00dc68c6e02f581c3792d73;hpb=e438aa9ce944f8c8f175554d9aa66d152a47f780 diff --git a/php_http_encoding.c b/php_http_encoding.c index ffa10b3..e7557a0 100644 --- a/php_http_encoding.c +++ b/php_http_encoding.c @@ -634,7 +634,7 @@ static ZEND_RESULT_CODE dechunk_update(php_http_encoding_stream_t *s, const char /* if strtoul() stops at the beginning of the buffered data there's something oddly wrong, i.e. bad input */ if (stop == ctx->buffer.data) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to parse chunk len from '%.*s'", (int) MIN(16, ctx->buffer.used), ctx->buffer.data); + php_error_docref(NULL, E_WARNING, "Failed to parse chunk len from '%.*s'", (int) MIN(16, ctx->buffer.used), ctx->buffer.data); php_http_buffer_dtor(&tmp); return FAILURE; }