* give the right status code for STARTTLS. thanks to bicos for pointing this out.
authorWilfried Göesgens <willi@citadel.org>
Thu, 9 Aug 2007 15:01:34 +0000 (15:01 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 9 Aug 2007 15:01:34 +0000 (15:01 +0000)
citadel/modules/smtp/serv_smtp.c

index f24701ac08ace625f62273c6e92823489409cff7..a08d6be059e1890025e0f19255716f2f3f167705 100644 (file)
@@ -798,7 +798,7 @@ void smtp_starttls(void)
        char error_response[SIZ];
 
        sprintf(ok_response,
-               "200 2.0.0 Begin TLS negotiation now\r\n");
+               "220 2.0.0 Begin TLS negotiation now\r\n");
        sprintf(nosup_response,
                "554 5.7.3 TLS not supported here\r\n");
        sprintf(error_response,