Skip to content

Commit

Permalink
we dont need $i here
Browse files Browse the repository at this point in the history
  • Loading branch information
sergot committed Jun 20, 2014
1 parent 81f437c commit 6db019b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HTTP/UserAgent.pm6
Expand Up @@ -51,7 +51,7 @@ method get(Str $url is copy) {

my $response;

for 1..5 -> $i {
for 1..5 {
my $request = HTTP::Request.new(GET => $url);
my $conn = IO::Socket::INET.new(:host(~$request.header('Host').values), :port(80), :timeout($.timeout));

Expand Down

0 comments on commit 6db019b

Please sign in to comment.