diff proxy_websocket.t @ 925:6bb1f2ccd386

Tests: removed unused variables.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 13 May 2016 14:46:07 +0300
parents a9569f57da98
children e9064d691790
line wrap: on
line diff
--- a/proxy_websocket.t
+++ b/proxy_websocket.t
@@ -242,7 +242,7 @@ sub websocket_handle_client {
 		my $p = $poll->poll(0.5);
 		log2c("(poll $p)");
 
-		foreach my $reader ($poll->handles(POLLIN)) {
+		foreach ($poll->handles(POLLIN)) {
 			$n = $client->sysread(my $chunk, 65536);
 			return unless $n;