documentation wrong for groupbaseexpire
Katsuhiro Kondou
kondou at nec.co.jp
Thu Jan 20 23:02:37 UTC 2000
In article <200001202033.PAA15085 at chaos.ao.net>,
Dan Merillat <harik at chaos.ao.net> wrote;
} Delayrm is also optional, so the expire process should work without it.
Aha, I see. Attached would fix and I've comitted.
--- storage/ov.c.orig Fri Jan 14 12:46:17 2000
+++ storage/ov.c Fri Jan 21 07:56:45 2000
@@ -375,7 +375,7 @@
OVkeep = ((OVGE *)val)->keep;
OVearliest = ((OVGE *)val)->earliest;
OVignoreselfexpire = ((OVGE *)val)->ignoreselfexpire;
- if ((EXPunlinkfile = fopen(((OVGE *)val)->filename, "w")) == NULL) {
+ if (((OVGE *)val)->filename != NULL && (EXPunlinkfile = fopen(((OVGE *)val)->filename, "w")) == NULL) {
syslog(L_ERROR, "fopen: %s failed: %m", ((OVGE *)val)->filename);
(void)fprintf(stderr, "fopen: %s failed: %s", ((OVGE *)val)->filename, strerror(errno));
return FALSE;
--
Katsuhiro Kondou
More information about the inn-workers
mailing list