corrected string parsing argument order

This commit is contained in:
valeski%netscape.com 1999-07-06 14:26:29 +00:00
Родитель 19dafdfd94
Коммит 90bc8ef305
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -461,7 +461,7 @@ nsFtpConnectionThread::Run() {
case FTP_R_PWD:
{
// fun response interpretation begins :)
PRInt32 start = mResponseMsg.Find('"', PR_FALSE, 5);
PRInt32 start = mResponseMsg.Find('"', 5, PR_FALSE);
nsString2 lNewMsg;
if (start > -1) {
mResponseMsg.Left(lNewMsg, start);
@ -492,7 +492,7 @@ nsFtpConnectionThread::Run() {
if (mUseDefaultPath && mServerType != FTP_VMS_TYPE) {
// we want to use the default path specified by the PWD command.
PRInt32 start = lNewMsg.Find('"', PR_FALSE, 1);
PRInt32 start = lNewMsg.Find('"', 1, PR_FALSE);
nsString2 path, ptr;
lNewMsg.Right(path, start);