X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_env_response.c;h=20a31eb90fea41b0ad73aa22c9e8011867dc1c95;hp=097bdba7217845025377f3cbad8b1186563bb19e;hb=256a3e275575fe336810530e4e5fe869b00540ee;hpb=693770d1c7ec8f618c56907574e53a0eb1a7d68e diff --git a/php_http_env_response.c b/php_http_env_response.c index 097bdba..20a31eb 100644 --- a/php_http_env_response.c +++ b/php_http_env_response.c @@ -228,8 +228,8 @@ php_http_cache_status_t php_http_env_is_response_cached_by_last_modified(zval *o static zend_bool php_http_env_response_is_cacheable(php_http_env_response_t *r, php_http_message_t *request) { - TSRMLS_FETCH_FROM_CTX(r->ts); long status = r->ops->get_status(r); + TSRMLS_FETCH_FROM_CTX(r->ts); if (status && status / 100 != 2) { return 0;