changeset 4125:5071c561c455 HEAD

Same STARTTLS flush callback fix as with imap-login.
author Timo Sirainen <tss@iki.fi>
date Sun, 02 Apr 2006 13:49:53 +0300
parents e65a7848e9e4
children 63d6890803b3
files src/pop3-login/client.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pop3-login/client.c	Sun Apr 02 13:48:59 2006 +0300
+++ b/src/pop3-login/client.c	Sun Apr 02 13:49:53 2006 +0300
@@ -104,8 +104,10 @@
 		return 1;
 	}
 
-	if (ret > 0)
+	if (ret > 0) {
+		o_stream_set_flush_callback(client->output, NULL, NULL);
 		client_start_tls(client);
+	}
 	return 1;
 }