mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
fix crash creating top level imap folder r=rhp, 20349
This commit is contained in:
parent
92b8ee0132
commit
4d6f4037a2
@ -1544,7 +1544,7 @@ nsImapService::CreateFolder(nsIEventQueue* eventQueue, nsIMsgFolder* parent,
|
||||
GetFolderName(parent, getter_Copies(folderName));
|
||||
urlSpec.Append("/create>");
|
||||
urlSpec.Append(hierarchySeparator);
|
||||
if (nsCRT::strlen(folderName) > 0)
|
||||
if ((const char *) folderName && nsCRT::strlen(folderName) > 0)
|
||||
{
|
||||
urlSpec.Append((const char *) folderName);
|
||||
urlSpec.Append(hierarchySeparator);
|
||||
|
Loading…
Reference in New Issue
Block a user