- add HTTP_URL_STRIP_ALL constant
[m6w6/ext-http] / http_filter_api.c
index 19260ee860e2deaa9e65fd93d301ffc408a5b27f..6b58a0be45fb1c872464df02dc4074fa24476ed2 100644 (file)
@@ -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;
                        }