diff options
author | Eric Wong <e@80x24.org> | 2017-01-13 22:24:45 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-01-13 22:24:45 +0000 |
commit | a20a1181a2d581892c0fc43b435cacd98443afe3 (patch) | |
tree | 2ae93f5144b42bf43ed2f4c26b8daa67324db6b8 /lib/PublicInbox | |
parent | c855bbe65ade50ac93f67d33daba20c0db500dfd (diff) | |
download | public-inbox-a20a1181a2d581892c0fc43b435cacd98443afe3.tar.gz |
D::S creates a reference for this, anyways, so avoid the extra work by doing it ourselves.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/GitAsyncRd.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/GitAsyncRd.pm b/lib/PublicInbox/GitAsyncRd.pm index a56dc392..465db2c7 100644 --- a/lib/PublicInbox/GitAsyncRd.pm +++ b/lib/PublicInbox/GitAsyncRd.pm @@ -29,7 +29,7 @@ sub cat_file_async { my ($self, $obj, $cb) = @_; # order matters push @{$self->{jobq}}, [ $obj, $cb ]; - $self->{wr}->write($obj."\n"); + $self->{wr}->write(\"$obj\n"); } # Returns: an array ref of the info line for --batch-check and --batch, |