X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_cache_api.c;h=582c3ccd455d764b26fcec0134ec58dff88080ea;hb=9ba68660f21ea9481af483dffd666ae5bee72d11;hp=a03a9616f1dba581c81b7b706681dc268a57c1c1;hpb=1382fe5a3ed5209ab05745ca95495885e85ff2a0;p=m6w6%2Fext-http diff --git a/http_cache_api.c b/http_cache_api.c index a03a961..582c3cc 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -85,6 +85,7 @@ PHP_HTTP_API zend_bool _http_match_last_modified_ex(const char *entry, time_t t, if ((chr_ptr = strrchr(modified, ';'))) { chr_ptr = 0; } + retval = (t <= http_parse_date(modified)); efree(modified); return retval;