don't ask for NAMESPACE if Folder was specified

This commit is contained in:
Oswald Buddenhagen 2004-01-30 23:39:39 +00:00
parent c2c4490431
commit 3e392b6aa2

View File

@ -850,7 +850,7 @@ imap_connect (config_t * cfg)
} /* !preauth */
/* get NAMESPACE info */
if (cfg->use_namespace && imap->have_namespace)
if (!global.folder && cfg->use_namespace && imap->have_namespace)
{
if (imap_exec (imap, "NAMESPACE"))
goto bail;