diff options
author | Eric Wong <e@80x24.org> | 2015-09-24 03:37:15 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-24 06:58:05 +0000 |
commit | fa6c9b965cec725942601d7bc40b6687c7b86ab7 (patch) | |
tree | 4f69cff2192cf11cfa1eba52fc5c1eb1e6017701 /lib | |
parent | d901e7842e13ff5dbf316eb79961732b607ebb1c (diff) | |
download | public-inbox-fa6c9b965cec725942601d7bc40b6687c7b86ab7.tar.gz |
Oops, we need to test commands more closely :x Add a missing prototype while we're at it for extra checking.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/NNTP.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm index 6dc0db35..0d0de976 100644 --- a/lib/PublicInbox/NNTP.pm +++ b/lib/PublicInbox/NNTP.pm @@ -762,11 +762,11 @@ sub cmd_xrover ($;$) { }); } -sub over_line { +sub over_line ($$) { my ($self, $r) = @_; more($self, join("\t", $r->[0], map { - my $h = xhdr($r, $_); + my $h = hdr_val($r, $_); defined $h ? $h : ''; } @OVERVIEW )); } |