Commit 8c64eaf8 8c64eaf8eb04fbcdc11130caa5189966d5361636 by Sergey Poznyakoff

(imap4d_starttls): Flush output before initializing tls.

1 parent 99444c6e
...@@ -32,6 +32,7 @@ imap4d_starttls (struct imap4d_command *command, char *arg) ...@@ -32,6 +32,7 @@ imap4d_starttls (struct imap4d_command *command, char *arg)
32 return util_finish (command, RESP_BAD, "Too many args"); 32 return util_finish (command, RESP_BAD, "Too many args");
33 33
34 status = util_finish (command, RESP_OK, "Begin TLS negotiation"); 34 status = util_finish (command, RESP_OK, "Begin TLS negotiation");
35 util_flush_output ();
35 tls_done = imap4d_init_tls_server (); 36 tls_done = imap4d_init_tls_server ();
36 37
37 return status; 38 return status;
......