diff options
author | Eric Wong <e@80x24.org> | 2019-02-01 06:06:04 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-02-01 06:06:35 +0000 |
commit | f8d9d0b2befb11597890e5ef2ea5ee7cc1d49581 (patch) | |
tree | 17ba01e19bcf0bb1c211225ec9d49fcc203ef9de /lib/PublicInbox/ViewVCS.pm | |
parent | 58700fb1830d1f854e688dfa47390d7f2eef9035 (diff) | |
download | public-inbox-f8d9d0b2befb11597890e5ef2ea5ee7cc1d49581.tar.gz |
Only to be pedantic...
Diffstat (limited to 'lib/PublicInbox/ViewVCS.pm')
-rw-r--r-- | lib/PublicInbox/ViewVCS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index eecc51e6..d67b5eb4 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -110,7 +110,7 @@ sub solve_result { } my $binary = index($$blob, "\0") >= 0; - if ($fn) { + if (defined $fn) { my $h = [ 'Content-Length', $size, 'Content-Type' ]; push(@$h, ($binary ? 'application/octet-stream' : 'text/plain')); return delete($ctx->{-wcb})->([200, $h, [ $$blob ]]); |