diff src/pop3-login/pop3-proxy.c @ 7927:2351a81ce699 HEAD

If commands are pipelined after the login command, pass them to the IMAP/POP3 process so it can process the command instead of discarding it.
author Timo Sirainen <tss@iki.fi>
date Sat, 21 Jun 2008 12:23:08 +0300
parents 053ec63146cb
children 4d6cc7bb3426
line wrap: on
line diff
--- a/src/pop3-login/pop3-proxy.c	Sat Jun 21 12:22:01 2008 +0300
+++ b/src/pop3-login/pop3-proxy.c	Sat Jun 21 12:23:08 2008 +0300
@@ -107,11 +107,11 @@
 				      login_proxy_get_host(client->proxy),
 				      login_proxy_get_port(client->proxy));
 
-		login_proxy_detach(client->proxy, client->input,
+		login_proxy_detach(client->proxy, client->common.input,
 				   client->output);
 
 		client->proxy = NULL;
-		client->input = NULL;
+		client->common.input = NULL;
 		client->output = NULL;
 		client->common.fd = -1;
 		client_destroy_success(client, msg);