From b1ee29534562a03b5b74453942241e94df4ef21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Mon, 4 Nov 2024 07:39:43 +0100 Subject: [PATCH] xP: update variable name --- xP/xP.go | 6 +++--- 1 file 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 }