Permalink
Browse files

Merge pull request #378 from avar/avar/return-fmt-in-plack-request

Plack::Request: minor alignment change in return() from content()
  • Loading branch information...
2 parents b6b0a94 + 1b981a1 commit f607247ea2e8bf5e5928dc138a0b81c74d6e2f33 @miyagawa miyagawa committed Feb 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Plack/Request.pm
View
@@ -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 f607247

Please sign in to comment.