rem: if (accountData.smtpCreateNewServer) smtpServer = smtpService.createSmtpServer(); 
add: if (accountData.smtpCreateNewServer) smtpServer = smtpService.createSmtpServer(); 
context: function finishAccount(account, accountData) {    if (accountData.incomingServer) {        dump("*** copyObjectToInterface:\n");        for (var i in account.incomingServer) {            if (typeof(account.incomingServer[i]) != "function")                dump("account.incomingServer." + i + " = " +                     account.incomingServer[i] + "\n");        }        var destServer = account.incomingServer;        var srcServer = accountData.incomingServer;        copyObjectToInterface(destServer, srcServer);        // see if there are any protocol-specific attributes        // if so, we use the type to get the IID, QueryInterface        // as appropriate, then copy the data over        dump("srcServer.ServerType-" + srcServer.type + " = " +             srcServer["ServerType-" + srcServer.type] + "\n");        if (srcServer["ServerType-" + srcServer.type]) {            // handle server-specific stuff            var IID = getInterfaceForType(srcServer.type);            if (IID) {                destProtocolServer = destServer.QueryInterface(IID);                srcProtocolServer = srcServer["ServerType-" + srcServer.type];                dump("Copying over " + srcServer.type + "-specific data\n");                copyObjectToInterface(destProtocolServer, srcProtocolServer);            }        }        account.incomingServer.valid=true;    }    // copy identity info    var destIdentity =        account.identities.QueryElementAt(0, nsIMsgIdentity);        if (accountData.identity && destIdentity) {        // fixup the email address if we have a default domain        var emailArray = accountData.identity.email.split('@');        if (emailArray.length < 2 && accountData.domain) {            accountData.identity.email += '@' + accountData.domain;        }        copyObjectToInterface(destIdentity,                              accountData.identity);        destIdentity.valid=true;    }    var smtpServer = smtpService.defaultServer;            if (accountData.smtpCreateNewServer)        smtpServer = smtpService.createSmtpServer();    dump("Copying smtpServer (" + smtpServer + ") to accountData\n");    copyObjectToInterface(smtpServer, accountData.smtp);    // some identities have 'preferred'     if (accountData.smtpUsePreferredServer && destIdentity)        destIdentity.smtpServerKey = smtpServer.key;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e04d33ce7888f6079b43884d41cc5efa8e8b7ba7/AccountWizard.js/buggy/mailnews/base/prefs/resources/content/AccountWizard.js