]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
POP3: A bit more code for handling nicely unsupported auth mechanisms.
authorTimo Sirainen <tss@iki.fi>
Sat, 13 Dec 2008 11:19:03 +0000 (13:19 +0200)
committerTimo Sirainen <tss@iki.fi>
Sat, 13 Dec 2008 11:19:03 +0000 (13:19 +0200)
--HG--
branch : HEAD

src/pop3-login/client-authenticate.c

index da665ed502a9714d403b4ee449eba969c18381aa..6862721f1fc86a6d9d903ee2efca942d6a955ba4 100644 (file)
@@ -189,7 +189,7 @@ static void sasl_callback(struct client *_client, enum sasl_server_reply reply,
                                  data : AUTH_FAILED_MSG, NULL);
                client_send_line(client, msg);
 
-               if (!client->destroyed) {
+               if (!client->destroyed && !client->auth_initializing) {
                        /* get back to normal client input. */
                        if (client->io != NULL)
                                io_remove(&client->io);