Skip to content
Browse files

Plack::Request: minor alignment change in return() from content()

Doesn't change any semantics, just changes the alignment of the two
"return" arguments to be the same.
  • Loading branch information...
1 parent b6b0a94 commit 1b981a18c875568c079113b20a0a68ba14c1ab50 @avar avar committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Plack/Request.pm
View
2 lib/Plack/Request.pm
@@ -91,7 +91,7 @@ sub content {
}
my $fh = $self->input or return '';
- my $cl = $self->env->{CONTENT_LENGTH} or return'';
+ my $cl = $self->env->{CONTENT_LENGTH} or return '';
$fh->seek(0, 0); # just in case middleware/apps read it without seeking back
$fh->read(my($content), $cl, 0);

0 comments on commit 1b981a1

Please sign in to comment.
Something went wrong with that request. Please try again.