]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
pop3: Fixed AUTH PLAIN command when SASL initial response wasn't specified.
authorTimo Sirainen <tss@iki.fi>
Tue, 7 Jul 2009 17:20:24 +0000 (13:20 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 7 Jul 2009 17:20:24 +0000 (13:20 -0400)
--HG--
branch : HEAD

src/pop3-login/client-authenticate.c

index b6a4fe7e5d7d1e39cd2fa4f3bc92c4634f20f9e9..5f283167029e3500adcad9239c449a45456bc0a3 100644 (file)
@@ -313,7 +313,7 @@ bool cmd_auth(struct pop3_client *client, const char *args)
        p = strchr(args, ' ');
        if (p == NULL) {
                mech_name = args;
-               args = "";
+               args = NULL;
        } else {
                mech_name = t_strdup_until(args, p);
                args = p+1;