From 53b81a5de9ea2d6937cc6529473a240ed561a7d0 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 9 Apr 2012 02:01:11 -0400 Subject: [PATCH] Fix poor choice of variable names --- chrome/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 index 9246698389..74c9d68a32 100755 --- 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();