]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Minor fix to previous commit.
authorTimo Sirainen <tss@iki.fi>
Tue, 14 Oct 2014 17:17:26 +0000 (10:17 -0700)
committerTimo Sirainen <tss@iki.fi>
Tue, 14 Oct 2014 17:17:26 +0000 (10:17 -0700)
src/auth/auth-request.c

index b9055518e7a93232e2d6a03e4b3f05272b29f4a4..4c3a1a14e7aaf6a41ebf4301423558f5ba8d126c 100644 (file)
@@ -1193,7 +1193,7 @@ auth_request_fix_username(struct auth_request *request, const char *username,
        if (user[0] == '\0') {
                /* Some PAM plugins go nuts with empty usernames */
                *error_r = "Empty username";
-               return FALSE;
+               return NULL;
        }
         return user;
 }