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 aliases and exports
[m6w6/ext-http]
/
http_encoding_api.c
diff --git
a/http_encoding_api.c
b/http_encoding_api.c
index 08a41a87da82df75afcd9bcd823b406688621368..89865a2bd543c437e4de80b24f1e3f29c17046bf 100644
(file)
--- a/
http_encoding_api.c
+++ b/
http_encoding_api.c
@@
-235,7
+235,7
@@
static inline int http_inflate_rounds(z_stream *Z, int flush, char **buf, size_t
phpstr_init_ex(&buffer, Z->avail_in, PHPSTR_INIT_PREALLOC);
do {
- if (
phpstr_resize_ex(&buffer, buffer.size, 0, 1) == (size_t) -1
) {
+ if (
PHPSTR_NOMEM == phpstr_resize_ex(&buffer, buffer.size, 0, 1)
) {
status = Z_MEM_ERROR;
} else {
do {