X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..2df9cdc41c20e4e6afd99c0ae688c7c7baa4343b:/imap/auth_login.c?ds=sidebyside diff --git a/imap/auth_login.c b/imap/auth_login.c index 4dda0a8..63e4752 100644 --- a/imap/auth_login.c +++ b/imap/auth_login.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1999-2001 Brendan Cully + * Copyright (C) 1999-2001,2005 Brendan Cully * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ imap_auth_res_t imap_auth_login (IMAP_DATA* idata, const char* method) return IMAP_AUTH_UNAVAIL; } - if (mutt_account_getlogin (&idata->conn->account)) + if (mutt_account_getuser (&idata->conn->account)) return IMAP_AUTH_FAILURE; if (mutt_account_getpass (&idata->conn->account)) return IMAP_AUTH_FAILURE;