www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 53b81a5de9ea2d6937cc6529473a240ed561a7d0
parent 6d4a43583891e239f09ee57f17111d60c8fd05cc
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  9 Apr 2012 02:01:11 -0400

Fix poor choice of variable names

Diffstat:
Mchrome/content/zotero/xpcom/server.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/server.js b/chrome/content/zotero/xpcom/server.js @@ -382,11 +382,11 @@ Zotero.Server.DataListener.prototype._processEndpoint = function(method, postDat * returns HTTP data from a request */ Zotero.Server.DataListener.prototype._requestFinished = function(response) { - if(this._requestFinished) { + if(this._responseSent) { Zotero.debug("Request already finished; not sending another response"); return; } - this._requestFinished = true; + this._responseSent = true; // close input stream this.iStream.close();