]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Import.pm
index: account for CRLF conversion when storing bytes
[public-inbox.git] / lib / PublicInbox / Import.pm
index ab75aa00dc2e3ed63e0b4ce74955cc43aeac88ed..af35905be4964b87ad9ea5dcb7eb78b7fe3e9d9a 100644 (file)
@@ -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};