X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_filter.c;h=95ff5601e37323acd6c3b840a971e881f38f5464;hp=608221ba1fe5ccdabb9c498d2af65c0078d7e354;hb=a251d0e3ac09b5f0b5507c165697d9a1041717a5;hpb=10bbc389d50be796cafeea66562a5558f21d2a9f diff --git a/src/php_http_filter.c b/src/php_http_filter.c index 608221b..95ff560 100644 --- a/src/php_http_filter.c +++ b/src/php_http_filter.c @@ -452,9 +452,9 @@ static php_stream_filter *http_filter_create(const char *name, zval *params, int php_http_encoding_stream_free(&b); } } +#if PHP_HTTP_HAVE_LIBBROTLI } else -#if PHP_HTTP_HAVE_LIBBROTLI if (!strcasecmp(name, "http.brotli_encode")) { PHP_HTTP_FILTER_BUFFER(stream) *b = NULL; @@ -473,8 +473,8 @@ static php_stream_filter *http_filter_create(const char *name, zval *params, int php_http_encoding_stream_free(&b); } } - } #endif + } return f; }