INN commit: trunk (frontends/inews.c nnrpd/post.c)

INN Commit rra at isc.org
Sun Dec 27 19:17:43 UTC 2009


    Date: Sunday, December 27, 2009 @ 11:17:43
  Author: iulius
Revision: 8866

sendsys, senduuname and version control messages are obsolete
(see RFC 5537) and can no longer be sent via nnrpd or inews.

Modified:
  trunk/frontends/inews.c
  trunk/nnrpd/post.c

-------------------+
 frontends/inews.c |    5 +----
 nnrpd/post.c      |    5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)

Modified: frontends/inews.c
===================================================================
--- frontends/inews.c	2009-12-27 19:12:13 UTC (rev 8865)
+++ frontends/inews.c	2009-12-27 19:17:43 UTC (rev 8866)
@@ -409,10 +409,7 @@
 	  || strcmp(ctrl, "ihave")       == 0
 	  || strcmp(ctrl, "sendme")      == 0
 	  || strcmp(ctrl, "newgroup")    == 0
-	  || strcmp(ctrl, "rmgroup")     == 0
-	  || strcmp(ctrl, "sendsys")     == 0
-	  || strcmp(ctrl, "senduuname")  == 0
-	  || strcmp(ctrl, "version")     == 0) {
+	  || strcmp(ctrl, "rmgroup")     == 0) {
 	if (!AnAdministrator())
             die("ask your news administrator to do the %s for you", ctrl);
     }

Modified: nnrpd/post.c
===================================================================
--- nnrpd/post.c	2009-12-27 19:12:13 UTC (rev 8865)
+++ nnrpd/post.c	2009-12-27 19:17:43 UTC (rev 8866)
@@ -270,10 +270,7 @@
 	if (*q == '\0')
 	    return "Message-ID missing in cancel";
     }
-    else if (strcmp(ctrl, "sendsys")     == 0
-          || strcmp(ctrl, "senduuname")  == 0
-	  || strcmp(ctrl, "version")     == 0
-          || strcmp(ctrl, "checkgroups") == 0
+    else if (strcmp(ctrl, "checkgroups") == 0
 	  || strcmp(ctrl, "ihave")       == 0
           || strcmp(ctrl, "sendme")      == 0
 	  || strcmp(ctrl, "newgroup")    == 0




More information about the inn-committers mailing list