Bug 107355 - fix crash when leaving root directory of an ftp server after

accessing another dir.
r=dougt, sr=scc.
This commit is contained in:
bbaetz%cs.mcgill.ca 2001-10-29 22:42:13 +00:00
Родитель fa25ff0952
Коммит 4fa674ac6e
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1857,7 +1857,7 @@ nsFtpState::Init(nsIFTPChannel* aChannel,
fwdPtr++;
if (*fwdPtr == '\0') {
// make it at least a dot
mPath.Adopt(".");
mPath.Adopt(nsCRT::strdup("."));
} else {
// now unescape it
char *unescPath = nsnull;