From 9665b1ffe0c5417e54ccd313794577d7c62c429c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 29 May 2016 04:10:48 +0000 Subject: nntp: fix for missing articles/bodies/heads Oops, we totally forgot to automate testing for this :x --- lib/PublicInbox/NNTP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm index 58b86a82..232237c2 100644 --- a/lib/PublicInbox/NNTP.pm +++ b/lib/PublicInbox/NNTP.pm @@ -485,7 +485,7 @@ find_mid: found: my $o = 'HEAD:' . mid2path($mid); my $bytes; - my $s = eval { Email::Simple->new($ng->gcf->cat_file($o, \$bytes)) }; + my $s = eval { Email::Simple->new($ng->git->cat_file($o, \$bytes)) }; return $err unless $s; my $lines; if ($set_headers) { -- cgit v1.2.3-24-ge0c7