chiark / gitweb /
debugging for thing that crashed
[innduct.git] / debian / patches / u_tls_duplicate_reply
1 Do not send 580 when negotiation fails (382 has already been sent).
2
3 http://inn.eyrie.org/viewcvs/branches/2.4/nnrpd/misc.c?r1=8057&r2=8056&pathrev=8057&view=patch
4
5 --- 2.4/nnrpd/misc.c    2008/09/26 23:02:08     8056
6 +++ 2.4/nnrpd/misc.c    2008/09/26 23:11:47     8057
7 @@ -544,7 +544,7 @@
8    result=tls_start_servertls(0, /* read */
9                              1); /* write */
10    if (result==-1) {
11 -    Reply("%d Starttls failed\r\n", NNTP_STARTTLS_BAD_VAL);
12 +    /* No reply because we have already sent NNTP_STARTTLS_NEXT_VAL. */
13      return;
14    }
15    nnrpd_starttls_done = 1;