X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;fp=http_cache_api.c;h=eb68044cb27b03e2ebc7157683cb62253b6866ee;hp=322c509d2f5a8873a526a1be104f6b7fc8a9768f;hb=a0bca521b491711e43aef74fe19c23a8eb4d0777;hpb=41d6cf70475c5a4e12dae565ffcf51de7f6fe120 diff --git a/http_cache_api.c b/http_cache_api.c index 322c509..eb68044 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -120,7 +120,7 @@ PHP_HTTP_API zend_bool _http_match_last_modified_ex(const char *entry, time_t t, HTTP_GSC(zmodified, entry, !enforce_presence); modified = estrndup(Z_STRVAL_P(zmodified), Z_STRLEN_P(zmodified)); - if (chr_ptr = strrchr(modified, ';')) { + if ((chr_ptr = strrchr(modified, ';'))) { chr_ptr = 0; } retval = (t <= http_parse_date(modified));