SVN commit 1216413 by adawit: Cosmetic changes M +2 -2 http.cpp --- trunk/KDE/kdelibs/kioslave/http/http.cpp #1216412:1216413 @@ -2393,7 +2393,7 @@ header += QLatin1String("If-None-Match: ")+m_request.cacheTag.etag+QLatin1String("\r\n"); if (m_request.cacheTag.lastModifiedDate != -1) { - QString httpDate = formatHttpDate(m_request.cacheTag.lastModifiedDate); + const QString httpDate = formatHttpDate(m_request.cacheTag.lastModifiedDate); header += QLatin1String("If-Modified-Since: ") + httpDate + QLatin1String("\r\n"); setMetaData(QLatin1String("modified"), httpDate); } @@ -4498,7 +4498,7 @@ } Q_ASSERT(policy == CC_Verify); time_t currentDate = time(0); - if ((servedDate != -1 && currentDate > servedDate + maxCacheAge) || + if ((servedDate != -1 && currentDate > (servedDate + maxCacheAge)) || (expireDate != -1 && currentDate > expireDate)) { return ValidateCached; }