[dovecot-cvs] dovecot/src/imap-login client.c,1.49,1.50

cras at dovecot.org cras at dovecot.org
Sun Apr 2 13:49:02 EEST 2006


Update of /var/lib/cvs/dovecot/src/imap-login
In directory talvi:/tmp/cvs-serv4677

Modified Files:
	client.c 
Log Message:
Output flush handler wasn't unset after STARTTLS, which could have caused
STARTTLS to be done again (it was unlikely to be ever set though).



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap-login/client.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- client.c	28 Jan 2006 21:47:00 -0000	1.49
+++ client.c	2 Apr 2006 10:48:59 -0000	1.50
@@ -150,8 +150,10 @@
 		return 1;
 	}
 
-	if (ret > 0)
+	if (ret > 0) {
+		o_stream_set_flush_callback(client->output, NULL, NULL);
 		client_start_tls(client);
+	}
 	return 1;
 }
 



More information about the dovecot-cvs mailing list