about summary refs log tree commit homepage
path: root/lib/PublicInbox/Import.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Import.pm')
-rw-r--r--lib/PublicInbox/Import.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Import.pm b/lib/PublicInbox/Import.pm
index ab75aa00..af35905b 100644
--- a/lib/PublicInbox/Import.pm
+++ b/lib/PublicInbox/Import.pm
@@ -400,7 +400,7 @@ sub add {
         # v2: we need this for Xapian
         if ($smsg) {
                 $smsg->{blob} = $self->get_mark(":$blob");
-                $smsg->{bytes} = $n;
+                $smsg->{raw_bytes} = $n;
                 $smsg->{-raw_email} = \$raw_email;
         }
         my $ref = $self->{ref};