mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
fix bug 27491, rejects not displayed in signon viewer. Trivial coding change, not reviewed
This commit is contained in:
parent
5ee75e51de
commit
155af66667
@ -1282,7 +1282,7 @@ SI_RemoveAllSignonData() {
|
||||
si_PartiallyLoaded = PR_FALSE;
|
||||
si_FullyLoaded = PR_FALSE;
|
||||
|
||||
si_Reject * reject;
|
||||
si_Reject * reject;
|
||||
while (LIST_COUNT(si_reject_list)>0) {
|
||||
reject = NS_STATIC_CAST(si_Reject*, si_reject_list->ElementAt(0));
|
||||
if (reject) {
|
||||
@ -1398,9 +1398,6 @@ si_PutReject(char * URLName, nsAutoString userName, PRBool save) {
|
||||
si_SaveSignonDataLocked(PR_FALSE);
|
||||
si_unlock_signon_list();
|
||||
}
|
||||
if (save) {
|
||||
si_unlock_signon_list();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1685,6 +1682,7 @@ si_ReadLine
|
||||
if (obscure) {
|
||||
c2 = Wallet_UTF8Get(strmp);
|
||||
if (c != c2) {
|
||||
NS_ASSERTION(0, ".p and .u files differ in header");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -1798,7 +1796,7 @@ SI_LoadSignonData(PRBool fullLoad) {
|
||||
|
||||
nsInputFileStream strmp(fullLoad ? (dirSpec+signonFileNameP) : dirSpec); // not used if !fullLoad
|
||||
if (fullLoad && !strmp.is_open()) {
|
||||
return -1;
|
||||
fullLoad = PR_FALSE;
|
||||
}
|
||||
|
||||
/* read the header information */
|
||||
|
Loading…
Reference in New Issue
Block a user