INN commit: trunk/nnrpd (perm.c)

INN Commit Russ_Allbery at isc.org
Thu Dec 25 08:56:21 UTC 2008


    Date: Thursday, December 25, 2008 @ 00:56:21
  Author: iulius
Revision: 8257

Return 400 and not 502 when reject_with: is set in readers.conf.

Modified:
  trunk/nnrpd/perm.c

--------+
 perm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: perm.c
===================================================================
--- perm.c	2008-12-25 08:46:46 UTC (rev 8256)
+++ perm.c	2008-12-25 08:56:21 UTC (rev 8257)
@@ -1682,7 +1682,7 @@
 	    syslog(L_ERROR, "%s rejected by rule (%s)",
 		Client.host, access_realms[i]->rejectwith);
 	    Reply("%d Permission denied:  %s\r\n",
-		NNTP_ERR_ACCESS, access_realms[i]->rejectwith);
+		NNTP_FAIL_TERMINATING, access_realms[i]->rejectwith);
 	    ExitWithStats(1, true);
 	}
 	if (access_realms[i]->read) {




More information about the inn-committers mailing list