[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Patch to fix "clamp_maxage = 0".
I just installed 1.31, and now I get the following error when fetchnews
runs...
config: maxage (10000) > expire (50). This can cause duplicate download.
Please fix your configuration, maxage must not be greater
than expire.
I have set "clamp_maxage = 0".
The following patch seems to fix the problem.
*** configutil.c.old Sun Dec 29 11:08:16 2002
--- configutil.c Sun Dec 29 11:08:58 2002
***************
*** 421,427 ****
}
}
}
! if (maxage != 0 && maxage > expiredays && clamp_maxage == 0) {
ln_log(LNLOG_SERR, LNLOG_CTOP,
"config: maxage (%d) > expire (%d). This can cause duplicate download. Please fix your configuration, maxage must not be greater than expire.",
maxage, expiredays);
--- 421,427 ----
}
}
}
! if (maxage != 0 && maxage > expiredays && clamp_maxage != 0) {
ln_log(LNLOG_SERR, LNLOG_CTOP,
"config: maxage (%d) > expire (%d). This can cause duplicate download. Please fix your configuration, maxage must not be greater than expire.",
maxage, expiredays);
Cheers,
Michael O'QUinn
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list