(imap4d_starttls): Flush output before initializing tls.
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -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; | ... | ... |
-
Please register or sign in to post a comment