projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
10bbc38
)
fix dangling else swallowing the return statement with clang
author
Michael Wallner
<mike@php.net>
Fri, 2 Mar 2018 12:42:31 +0000
(13:42 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 2 Mar 2018 12:42:31 +0000
(13:42 +0100)
src/php_http_filter.c
patch
|
blob
|
history
diff --git
a/src/php_http_filter.c
b/src/php_http_filter.c
index 608221ba1fe5ccdabb9c498d2af65c0078d7e354..95ff5601e37323acd6c3b840a971e881f38f5464 100644
(file)
--- 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;
}