]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
message parts were stored corrupted
authorTimo Sirainen <tss@iki.fi>
Mon, 11 Aug 2003 14:11:12 +0000 (17:11 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 11 Aug 2003 14:11:12 +0000 (17:11 +0300)
--HG--
branch : HEAD

src/lib-storage/index/index-mail.c

index b7454d1a7905a71eee7fb42e6bddf3ff58336e4d..542c6ff0bd2719bf88754aa1a7bb0350d4458ae4 100644 (file)
@@ -519,7 +519,7 @@ static const struct message_part *get_parts(struct mail *_mail)
 
                buf_data = buffer_get_data(buffer, &buf_size);
                index_mail_cache_add(mail, MAIL_CACHE_MESSAGEPART,
-                                    &buf_data, buf_size);
+                                    buf_data, buf_size);
                t_pop();
        }
        return data->parts;