summaryrefslogtreecommitdiff
path: root/xP
diff options
context:
space:
mode:
Diffstat (limited to 'xP')
-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
}