xP: update variable name

This commit is contained in:
Přemysl Eric Janouch 2024-11-04 07:39:43 +01:00
parent 872f2d7c59
commit b1ee295345
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 3 deletions

View File

@ -75,12 +75,12 @@ func relayMakeReceiver(ctx context.Context, conn net.Conn) <-chan []byte {
go func() { go func() {
defer close(p) defer close(p)
for { for {
j := relayReadFrame(r) b := relayReadFrame(r)
if j == nil { if b == nil {
return return
} }
select { select {
case p <- j: case p <- b:
case <-ctx.Done(): case <-ctx.Done():
return return
} }