Bug 299017. Fix for firefox 2.0 and firefox 1.5.0.10, password file.

This commit is contained in:
Jim Norman 2007-08-10 19:23:05 +00:00
parent a94dd41db4
commit a2ef7b4582

View File

@ -582,7 +582,14 @@ bool isFireFox2 = false;
strcpy(signonFilePath, firefoxProfileDir);
strcat(signonFilePath, "/");
if (isFireFox2 )
{
strcat(signonFilePath, SIGNON_FILE_NAME2);
}
else
{
strcat(signonFilePath, SIGNON_FILE_NAME);
}
strcpy(tempFilePath, firefoxProfileDir);
strcat(tempFilePath, "/");
@ -720,7 +727,7 @@ bool isFireFox2 = false;
}
else
{
if( (retValue = WriteLine(t->hostName)) != FPM_TRUE )
if( (retValue = WriteLine("")) != FPM_TRUE )
goto write_signon_error;
}
}