1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-26 10:35:59 +01:00

Fix typo in gotAbort.

This commit is contained in:
Juliusz Chroboczek 2020-08-13 20:11:21 +02:00
parent 04b0951530
commit 0102bdc128

View file

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