projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge branch 'master' into psgi
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine.pm
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
52c38cb
..
407ceb5
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-839,7
+839,7
@@
sub write {
$self->_prepared_write(1);
}
- return 0 if !defined $buffer;
+ $buffer = q[] unless defined $buffer;
my $len = length($buffer);
$self->_writer->write($buffer);