Skip to content

Commit

Permalink
Sort out a warning issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
augensalat committed May 16, 2012
1 parent ce2ccf4 commit 3a6fec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/Message.pm
Expand Up @@ -219,7 +219,7 @@ sub is_dynamic { shift->content->is_dynamic }

sub is_finished { (shift->{state} || '') eq 'finished' }

sub is_limit_exceeded { ((shift->error)[1] || '') ~~ [413, 431] }
sub is_limit_exceeded { ((shift->error)[1] || 0) ~~ [413, 431] }

sub is_multipart { shift->content->is_multipart }

Expand Down

0 comments on commit 3a6fec7

Please sign in to comment.