diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-11-04 07:39:43 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-11-04 07:40:14 +0100 |
commit | b1ee29534562a03b5b74453942241e94df4ef21e (patch) | |
tree | f73bc69040793f85e648a05772f54156c6acb8ef | |
parent | 872f2d7c59645e5ce0ddfb703a46bed50f16705b (diff) | |
download | xK-b1ee29534562a03b5b74453942241e94df4ef21e.tar.gz xK-b1ee29534562a03b5b74453942241e94df4ef21e.tar.xz xK-b1ee29534562a03b5b74453942241e94df4ef21e.zip |
xP: update variable name
-rw-r--r-- | xP/xP.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -75,12 +75,12 @@ func relayMakeReceiver(ctx context.Context, conn net.Conn) <-chan []byte { go func() { defer close(p) for { - j := relayReadFrame(r) - if j == nil { + b := relayReadFrame(r) + if b == nil { return } select { - case p <- j: + case p <- b: case <-ctx.Done(): return } |