Fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan

This commit is contained in:
rjc%netscape.com 2000-10-04 02:06:03 +00:00
Родитель 09f2166c9f
Коммит 9450f5b29f
1 изменённых файлов: 6 добавлений и 1 удалений

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

@ -1069,7 +1069,12 @@ nsFtpConnectionThread::R_pwd() {
{
tmpPath = "";
}
tmpPath.Append(mPath);
nsCAutoString modPath(mPath);
if ((modPath.Length() > 0) && (!modPath.Equals("/")))
{
tmpPath = modPath;
}
mResponseMsg = tmpPath;
mURL->SetPath(tmpPath);