Skip to content

Commit

Permalink
make warning go away on legacy Perl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 5, 2011
1 parent c699fcf commit a4644d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Transaction/WebSocket.pm
Expand Up @@ -314,7 +314,7 @@ sub server_write {
return $write;
}

sub _challenge { b64_encode(sha1_bytes(pop . GUID), '') }
sub _challenge { b64_encode(sha1_bytes(pop() . GUID), '') }

sub _xor_mask {
my ($input, $mask) = @_;
Expand Down

0 comments on commit a4644d3

Please sign in to comment.