about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoAtom.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepoAtom.pm')
-rw-r--r--lib/PublicInbox/RepoAtom.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoAtom.pm b/lib/PublicInbox/RepoAtom.pm
index 4a013147..44883ab4 100644
--- a/lib/PublicInbox/RepoAtom.pm
+++ b/lib/PublicInbox/RepoAtom.pm
@@ -46,7 +46,7 @@ sub translate {
         my $rec = $_[0] // return $self->zflush; # getline
         my @out;
         my $lbuf = delete($self->{lbuf}) // shift;
-        $lbuf .= shift if @_;
+        $lbuf .= shift while @_;
         my $is_tag = $self->{-is_tag};
         my ($H, $ct, $an, $ae, $at, $s, $bdy);
         while ($lbuf =~ s/\A([^\0]+)\0\n//s) {