correct fix for 103703 loading message leaks url spec, r/sr=sspitzer

This commit is contained in:
bienvenu%netscape.com 2001-10-22 13:25:54 +00:00
Родитель 4a0f18a76b
Коммит 8e2ad64be1
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -157,7 +157,7 @@ nsresult nsMsgProtocol::GetFileFromURL(nsIURI * aURL, nsIFile **aResult)
// extract the file path from the uri...
nsXPIDLCString filePath;
aURL->GetPath(getter_Copies(filePath));
nsCAutoString urlSpec("file://%s");
nsCAutoString urlSpec("file://");
urlSpec.Append(filePath.get());
nsresult rv;