INN commit: branches/2.4/nnrpd (misc.c)

INN Commit Russ_Allbery at isc.org
Fri Sep 26 23:11:48 UTC 2008


    Date: Friday, September 26, 2008 @ 16:11:47
  Author: iulius
Revision: 8057

Do not send 580 when negotiation fails (382 has already been sent).

Modified:
  branches/2.4/nnrpd/misc.c

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

Modified: misc.c
===================================================================
--- misc.c	2008-09-26 23:02:08 UTC (rev 8056)
+++ misc.c	2008-09-26 23:11:47 UTC (rev 8057)
@@ -544,7 +544,7 @@
   result=tls_start_servertls(0, /* read */
 			     1); /* write */
   if (result==-1) {
-    Reply("%d Starttls failed\r\n", NNTP_STARTTLS_BAD_VAL);
+    /* No reply because we have already sent NNTP_STARTTLS_NEXT_VAL. */
     return;
   }
   nnrpd_starttls_done = 1;



More information about the inn-committers mailing list