thanks to burpmaster@truffula.net for catching a bad regression.

r/sr=bienvenu
This commit is contained in:
sspitzer%mozilla.org 2004-05-24 21:17:51 +00:00
Родитель 7b0132471c
Коммит aed632a6ee
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -1089,7 +1089,9 @@ nsresult nsMsgDBFolder::GetFolderCacheKey(nsIFileSpec **aFileSpec)
// create the .msf file
// see bug #244217 for details
dbPath->Touch();
PRBool exists;
if (NS_SUCCEEDED(dbPath->Exists(&exists)) && !exists)
dbPath->Touch();
}
}
return rv;