diff --git a/mailnews/imap/src/nsImapService.cpp b/mailnews/imap/src/nsImapService.cpp index 41ca917f282..1cfb903d61b 100644 --- a/mailnews/imap/src/nsImapService.cpp +++ b/mailnews/imap/src/nsImapService.cpp @@ -1164,7 +1164,7 @@ nsImapService::OnlineMessageCopy(nsIEventQueue* aClientEventQueue, urlSpec.Append('>'); urlSpec.Append(hierarchySeparator); - nsString folderName("", eOneByte); + nsString2 folderName("", eOneByte); GetFolderName(aSrcFolder, folderName); urlSpec.Append(folderName.GetBuffer()); urlSpec.Append('>');