[dovecot-cvs] dovecot/src/pop3-login pop3-proxy.c,1.8,1.9

cras at dovecot.org cras at dovecot.org
Sun Jan 9 21:56:02 EET 2005


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv944

Modified Files:
	pop3-proxy.c 
Log Message:
If login failed, send it as "-ERR [IN-USE]" rather as IMAP's "* BYE"..



Index: pop3-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/pop3-proxy.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- pop3-proxy.c	7 Jan 2005 16:46:29 -0000	1.8
+++ pop3-proxy.c	9 Jan 2005 19:56:00 -0000	1.9
@@ -25,7 +25,8 @@
 		}
 
 		/* failed for some reason, probably server disconnected */
-		client_send_line(client, "* BYE Temporary login failure.");
+		client_send_line(client,
+				 "-ERR [IN-USE] Temporary login failure.");
 		client_destroy(client, NULL);
 		return;
 	}



More information about the dovecot-cvs mailing list