Skip to content

Commit

Permalink
no more barewords
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jul 29, 2014
1 parent 82a7d45 commit 8c209b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/mojo/user_agent_socks.t
Expand Up @@ -57,15 +57,15 @@ Mojo::IOLoop->singleton->reactor->io(
}
else {
my $command = $client->command;
$client->command_reply(IO::Socket::Socks::REPLY_SUCCESS,
$client->command_reply(IO::Socket::Socks::REPLY_SUCCESS(),
$command->[1], $command->[2]);
$done = 1;
}
}
elsif ($err == IO::Socket::Socks::SOCKS_WANT_WRITE) {
elsif ($err == IO::Socket::Socks::SOCKS_WANT_WRITE()) {
$reactor->watch($client, 1, 1);
}
elsif ($err == IO::Socket::Socks::SOCKS_WANT_READ) {
elsif ($err == IO::Socket::Socks::SOCKS_WANT_READ()) {
$reactor->watch($client, 1, 0);
}
}
Expand Down

0 comments on commit 8c209b4

Please sign in to comment.