[dovecot-cvs] dovecot/src/pop3-login client-authenticate.c, 1.25, 1.26

cras at dovecot.org cras at dovecot.org
Sun Aug 22 14:00:09 EEST 2004


Update of /home/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv4664/pop3-login

Modified Files:
	client-authenticate.c 
Log Message:
AUTHENTICATE and AUTH commands were broken.



Index: client-authenticate.c
===================================================================
RCS file: /home/cvs/dovecot/src/pop3-login/client-authenticate.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- client-authenticate.c	15 Aug 2004 03:40:32 -0000	1.25
+++ client-authenticate.c	22 Aug 2004 11:00:06 -0000	1.26
@@ -103,7 +103,7 @@
 	buffer_append(buf, "\r\n", 2);
 
 	buf_data = buffer_get_data(buf, &buf_size);
-	if ((ret = o_stream_send(client->output, buf_data, buf_size) < 0))
+	if ((ret = o_stream_send(client->output, buf_data, buf_size)) < 0)
 		client_destroy(client, "Disconnected");
 	else if ((size_t)ret != buf_size)
 		client_destroy(client, "Transmit buffer full");



More information about the dovecot-cvs mailing list