- ditch some warnings
[m6w6/ext-http] / http_cache_api.c
index 322c509d2f5a8873a526a1be104f6b7fc8a9768f..eb68044cb27b03e2ebc7157683cb62253b6866ee 100644 (file)
@@ -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));