INN commit: trunk/innd (icd.c)
INN Commit
Russ_Allbery at isc.org
Sun Nov 23 21:42:33 UTC 2008
Date: Sunday, November 23, 2008 @ 13:42:32
Author: iulius
Revision: 8190
Prevent control.cancel from being removed.
Thanks to D. Stussy for having pointed that issue out.
Modified:
trunk/innd/icd.c
-------+
icd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: icd.c
===================================================================
--- icd.c 2008-11-23 20:15:19 UTC (rev 8189)
+++ icd.c 2008-11-23 21:42:32 UTC (rev 8190)
@@ -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