rem: checkWcapXmlErrno( issueSyncXMLRequest(url), -1 ); 
add: checkWcapXmlErrno( issueSyncXMLRequest(url), -1 /* logout successfull */ ); 
context:     logout:    function()    {        if (this.m_sessionId != null) {            // although io service's offline flag is already            // set BEFORE notification (about to go offline, nsIOService.cpp).            // WTF.            var url = (this.uri.spec +                       "logout.wcap?fmt-out=text%2Fxml&id=" + this.m_sessionId);            try {                checkWcapXmlErrno( issueSyncXMLRequest(url), -1 );                this.log( "WCAP logout succeeded." );            }            catch (exc) {                this.log( "WCAP logout failed: " + exc );                Components.utils.reportError( exc );            }            this.m_sessionId = null;            this.m_userId = null;        }        // ask next time we log in:        var this_ = this;        g_httpHosts = g_httpHosts.filter(            function(hostEntry) {                return (hostEntry.m_host != this_.uri.hostPort); } );        this.m_bNoLoginsAnymore = false;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/318a30b964defb311d9cf0464a3354a583a7e8f0/calWcapSession.js/buggy/calendar/providers/wcap/calWcapSession.js