Commit 0102bdc1 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in gotAbort.

parent 04b09515
...@@ -607,7 +607,7 @@ ServerConnection.prototype.gotClose = function(id) { ...@@ -607,7 +607,7 @@ ServerConnection.prototype.gotClose = function(id) {
* @param {string} id * @param {string} id
*/ */
ServerConnection.prototype.gotAbort = function(id) { ServerConnection.prototype.gotAbort = function(id) {
let c = this.down[id]; let c = this.up[id];
if(!c) if(!c)
throw new Error('unknown up stream'); throw new Error('unknown up stream');
if(c.onabort) if(c.onabort)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment