X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=account.c;h=17234fbf0b78fc214227d3b1ad8a4ac9ed5cd7b3;hp=f13831e666226c1820b64603d56553ba4a987488;hb=6f1bd3d49f9bb02c57e2c7a1ba8e5507edb28ad5;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/account.c b/account.c index f13831e..17234fb 100644 --- a/account.c +++ b/account.c @@ -9,12 +9,9 @@ /* remote host account manipulation (POP/IMAP) */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - #include #include +#include #include "mutt.h" #include "account.h" @@ -127,7 +124,7 @@ void mutt_account_tourl (ACCOUNT * account, ciss_url_t * url) /* mutt_account_getuser: retrieve username into ACCOUNT, if necessary */ int mutt_account_getuser (ACCOUNT * account) { - char prompt[SHORT_STRING]; + char prompt[STRING]; /* already set */ if (account->flags & M_ACCT_USER) @@ -180,7 +177,7 @@ int mutt_account_getlogin (ACCOUNT* account) /* mutt_account_getpass: fetch password into ACCOUNT, if neccessary */ int mutt_account_getpass (ACCOUNT * account) { - char prompt[SHORT_STRING]; + char prompt[STRING]; if (account->flags & M_ACCT_PASS) return 0; @@ -209,5 +206,5 @@ int mutt_account_getpass (ACCOUNT * account) void mutt_account_unsetpass (ACCOUNT * account) { - account->flags &= !M_ACCT_PASS; + account->flags &= ~M_ACCT_PASS; }