projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
-fix Countable not available in WONKY
[m6w6/ext-http]
/
http_encoding_api.c
diff --git
a/http_encoding_api.c
b/http_encoding_api.c
index eecbbab5dad9650ac4107fa37034c8d7e1ed5c3f..9475a176b86c47cf1ee653c581b1234faeb415af 100644
(file)
--- a/
http_encoding_api.c
+++ b/
http_encoding_api.c
@@
-520,7
+520,7
@@
PHP_HTTP_API STATUS _http_encoding_stream_init(http_encoding_stream *s, int gzip
HTTP_ENCODING_STREAM_ERROR(status, NULL);
}
HTTP_ENCODING_STREAM_ERROR(status, NULL);
}
- if (
s->gzip = gzip
) {
+ if (
(s->gzip = gzip)
) {
s->crc = crc32(0L, Z_NULL, 0);
*encoded_len = sizeof(http_encoding_gzip_header);
*encoded = emalloc(*encoded_len);
s->crc = crc32(0L, Z_NULL, 0);
*encoded_len = sizeof(http_encoding_gzip_header);
*encoded = emalloc(*encoded_len);
@@
-622,7
+622,7
@@
PHP_HTTP_API zend_bool _http_encoding_response_start(size_t content_length TSRML
HTTP_G(send).gzip_encoding = 0;
HTTP_G(send).gzip_encoding = 0;
- if (
selected = http_negotiate_encoding(&zsupported
)) {
+ if (
(selected = http_negotiate_encoding(&zsupported)
)) {
STATUS hs = FAILURE;
char *encoding = NULL;
ulong idx;
STATUS hs = FAILURE;
char *encoding = NULL;
ulong idx;