Fix poor choice of variable names
This commit is contained in:
parent
6d4a435838
commit
53b81a5de9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user