X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_cache_api.c;h=eb68044cb27b03e2ebc7157683cb62253b6866ee;hb=refs%2Ftags%2FRELEASE_0_18_0;hp=322c509d2f5a8873a526a1be104f6b7fc8a9768f;hpb=8d25696948ed61d50c417275222117f43069ddd1;p=m6w6%2Fext-http 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));