diff --git a/mailnews/import/src/nsImportMail.cpp b/mailnews/import/src/nsImportMail.cpp index b9912b4c59b5..cb5949ee57a9 100644 --- a/mailnews/import/src/nsImportMail.cpp +++ b/mailnews/import/src/nsImportMail.cpp @@ -389,7 +389,7 @@ void nsImportGenericMail::GetDefaultDestination( void) if (pName) { IMPORT_LOG1( "* Creating folder for importing mail: %s\n", pName); nsAutoString childName; childName.AssignWithConversion(pName); - rootFolder->CreateSubfolder( childName.GetUnicode()); + rootFolder->CreateSubfolder( childName.GetUnicode(),nsnull); nsCOMPtr subFolder; rootFolder->GetChildNamed( pName, getter_AddRefs( subFolder)); if (subFolder) { @@ -874,7 +874,7 @@ ImportMailThread( void *stuff) IMPORT_LOG1( "* Creating new import folder: %s\n", pStr); nsAutoString newName; newName.AssignWithConversion(pStr); - rv = curProxy->CreateSubfolder( newName.GetUnicode()); + rv = curProxy->CreateSubfolder( newName.GetUnicode(),nsnull); IMPORT_LOG1( "New folder created, rv: 0x%lx\n", (long) rv); if (NS_SUCCEEDED( rv)) {