socks: minor.

This commit is contained in:
Christopher Jeffrey 2017-01-25 02:01:45 -08:00
parent c6aad6448c
commit 00dccf0d5d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -212,7 +212,7 @@ SOCKS.prototype.handleClose = function handleClose() {
var state;
if (this.state !== this.target) {
state = SOCKS.statesByVal[this.target];
state = SOCKS.statesByVal[this.state];
this.error('SOCKS request destroyed (state=%s).', state);
return;
}