remove unneeded call to CreateUtf7ConvertedString when refreshing folder acl r=nhotta, sr=sspitzer 180158

This commit is contained in:
bienvenu%netscape.com 2002-11-14 22:01:58 +00:00
Родитель 9be5d10e5c
Коммит 57ca9ca2fb
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -5301,18 +5301,13 @@ void nsImapProtocol::RefreshACLForFolder(const char *mailboxName)
void nsImapProtocol::RefreshFolderACLView(const char *mailboxName, nsIMAPNamespace *nsForMailbox)
{
char *nonUTF7ConvertedName = CreateUtf7ConvertedString(mailboxName, PR_FALSE);
nsXPIDLCString canonicalMailboxName;
if (nonUTF7ConvertedName)
mailboxName = nonUTF7ConvertedName;
if (nsForMailbox)
m_runningUrl->AllocateCanonicalPath(mailboxName, nsForMailbox->GetDelimiter(), getter_Copies(canonicalMailboxName));
else
m_runningUrl->AllocateCanonicalPath(mailboxName, kOnlineHierarchySeparatorUnknown, getter_Copies(canonicalMailboxName));
PR_Free(nonUTF7ConvertedName);
if (m_imapServerSink)
m_imapServerSink->RefreshFolderRights(canonicalMailboxName);
}