static unsigned short ImapPort = 0;
static unsigned short ImapsPort = 0;
struct servent *service = NULL;
- char tmp[128];
struct Url url;
char *c = NULL;
- int n;
if (!ImapPort)
{
{
url_free(&url);
FREE(&c);
+ char tmp[128];
if (sscanf(path, "{%127[^}]}", tmp) != 1)
return -1;
mx->account.flags |= MUTT_ACCT_USER;
}
- n = sscanf(tmp, "%127[^:/]%127s", mx->account.host, tmp);
+ const int n = sscanf(tmp, "%127[^:/]%127s", mx->account.host, tmp);
if (n < 1)
{
mutt_debug(1, "NULL host in %s\n", path);