rem: if (!identity.valid) { invalidAccounts[invalidAccounts.length] = account; continue; 
add: if (identity.valid) { gAnyValidIdentity = true; } else { invalidAccounts[invalidAccounts.length] = account; 
context: function getInvalidAccounts(accounts){    var numAccounts = accounts.Count();    var invalidAccounts = new Array;    var numIdentities = 0;    for (var i=0; i<numAccounts; i++) {        var account = accounts.QueryElementAt(i, Components.interfaces.nsIMsgAccount);        try {            if (!account.incomingServer.valid) {                invalidAccounts[invalidAccounts.length] = account;                // skip to the next account                continue;            }        } catch (ex) {            // this account is busted, just keep going            continue;        }        var identities = account.identities;        numIdentities = identities.Count();        for (var j=0; j<numIdentities; j++) {            var identity = identities.QueryElementAt(j, Components.interfaces.nsIMsgIdentity);            if (!identity.valid) {                invalidAccounts[invalidAccounts.length] = account;                continue;            }        }    }    if ((numAccounts == 1) && (numIdentities <= 0))      zeroIdCount = true;    return invalidAccounts;}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/50a556df9f5170147f759f8b0d5e2d0cf4eead3a/accountUtils.js/buggy/mailnews/base/prefs/resources/content/accountUtils.js