X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_filter_api.c;h=6b58a0be45fb1c872464df02dc4074fa24476ed2;hp=19260ee860e2deaa9e65fd93d301ffc408a5b27f;hb=5773d11d8c9c28fb8b0e3389258f548fc4717892;hpb=e37040ebf8a470c77c7ae3498ee582ca20db259c diff --git a/http_filter_api.c b/http_filter_api.c index 19260ee..6b58a0b 100644 --- a/http_filter_api.c +++ b/http_filter_api.c @@ -105,7 +105,7 @@ static HTTP_FILTER_FUNCTION(chunked_decode) *bytes_consumed += ptr->buflen; } - if ((size_t) -1 == phpstr_append(PHPSTR(buffer), ptr->buf, ptr->buflen)) { + if (PHPSTR_NOMEM == phpstr_append(PHPSTR(buffer), ptr->buf, ptr->buflen)) { return PSFS_ERR_FATAL; }