X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_response_object.c;h=ed634afa869cb7be0d4ad0eff339c1fda1c1b917;hp=2360d68765b7b387e2830a62d44742ff85c5e5b0;hb=94a301a8e3c3544c1177f74e15f2c7f0bd7036cf;hpb=8e6cf53b544342e1eaf0ec4f530e32852120294a diff --git a/http_response_object.c b/http_response_object.c index 2360d68..ed634af 100644 --- a/http_response_object.c +++ b/http_response_object.c @@ -795,7 +795,7 @@ PHP_METHOD(HttpResponse, send) } /* capture mode */ - if (zval_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("catch")-1, 0 TSRMLS_CC))) { + if (i_zend_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("catch")-1, 0 TSRMLS_CC))) { zval *etag_p, *the_data; MAKE_STD_ZVAL(the_data); @@ -827,7 +827,7 @@ PHP_METHOD(HttpResponse, send) } /* caching */ - if (zval_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("cache")-1, 0 TSRMLS_CC))) { + if (i_zend_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("cache")-1, 0 TSRMLS_CC))) { zval *cctl, *cctl_p, *etag, *etag_p, *lmod, *lmod_p; etag = convert_to_type_ex(IS_STRING, *zend_std_get_static_property(THIS_CE, ZEND_STRS("eTag")-1, 0 TSRMLS_CC), &etag_p); @@ -895,7 +895,7 @@ PHP_METHOD(HttpResponse, send) } /* gzip */ - HTTP_G->send.deflate.response = zval_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("gzip")-1, 0 TSRMLS_CC)); + HTTP_G->send.deflate.response = i_zend_is_true(*zend_std_get_static_property(THIS_CE, ZEND_STRS("gzip")-1, 0 TSRMLS_CC)); /* send */ switch (Z_LVAL_P(*zend_std_get_static_property(THIS_CE, ZEND_STRS("mode")-1, 0 TSRMLS_CC))) {