INN commit: branches/2.4/innd (icd.c)
INN Commit
Russ_Allbery at isc.org
Tue Dec 2 17:33:26 UTC 2008
Date: Tuesday, December 2, 2008 @ 09:33:26
Author: iulius
Revision: 8206
Prevent control.cancel from being removed.
Thanks to D. Stussy for having pointed that issue out.
Modified:
branches/2.4/innd/icd.c
-------+
icd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: icd.c
===================================================================
--- icd.c 2008-12-02 17:31:32 UTC (rev 8205)
+++ icd.c 2008-12-02 17:33:26 UTC (rev 8206)
@@ -377,7 +377,8 @@
char *Name;
/* Don't let anyone remove newsgroups that INN requires exist. */
- if (strcmp(ngp->Name, "junk") == 0 || strcmp(ngp->Name, "control") == 0)
+ if (strcmp(ngp->Name, "junk") == 0 || strcmp(ngp->Name, "control") == 0
+ || strcmp(ngp->Name, "control.cancel") == 0)
return false;
if (innconf->mergetogroups && strcmp(ngp->Name, "to") == 0)
return false;
More information about the inn-committers
mailing list