There is no good way to printf() time_t. AFAICT, Squid usually just
casts to (long) int. TODO: Use C++ streams (with manipulators) instead.
if (hopeless() && Config.hopelessKidRevivalDelay) {
syslog(LOG_NOTICE, "Squid Parent: %s process %d will not be restarted for %ld "
"seconds due to repeated, frequent failures",
- theName.termedBuf(), pid, Config.hopelessKidRevivalDelay);
+ theName.termedBuf(),
+ pid,
+ static_cast<long int>(Config.hopelessKidRevivalDelay));
}
}