Fix poor choice of variable names

This commit is contained in:
Simon Kornblith 2012-04-09 02:01:11 -04:00
parent 6d4a435838
commit 53b81a5de9

View File

@ -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();