xP: update variable name
This commit is contained in:
		
							parent
							
								
									872f2d7c59
								
							
						
					
					
						commit
						b1ee295345
					
				
							
								
								
									
										6
									
								
								xP/xP.go
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								xP/xP.go
									
									
									
									
									
								
							| @ -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 | ||||||
| 			} | 			} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user