aboutsummaryrefslogtreecommitdiff
path: root/xP/xP.go
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-04 07:39:43 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-04 07:40:14 +0100
commitb1ee29534562a03b5b74453942241e94df4ef21e (patch)
treef73bc69040793f85e648a05772f54156c6acb8ef /xP/xP.go
parent872f2d7c59645e5ce0ddfb703a46bed50f16705b (diff)
downloadxK-b1ee29534562a03b5b74453942241e94df4ef21e.tar.gz
xK-b1ee29534562a03b5b74453942241e94df4ef21e.tar.xz
xK-b1ee29534562a03b5b74453942241e94df4ef21e.zip
xP: update variable name
Diffstat (limited to 'xP/xP.go')
-rw-r--r--xP/xP.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/xP/xP.go b/xP/xP.go
index ba63fe9..c0c4448 100644
--- a/xP/xP.go
+++ b/xP/xP.go
@@ -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
}