From: Timo Sirainen Date: Mon, 25 Oct 2010 17:11:04 +0000 (+0100) Subject: lib-storage: Comment update to mail_get_stream() X-Git-Tag: 2.0.7~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ab855872dfa59c88e5c891592cfc7a0a74f6ff7;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Comment update to mail_get_stream() --- diff --git a/src/lib-storage/mail-storage.h b/src/lib-storage/mail-storage.h index ee50737d28..c4413da423 100644 --- a/src/lib-storage/mail-storage.h +++ b/src/lib-storage/mail-storage.h @@ -658,7 +658,8 @@ int mail_get_header_stream(struct mail *mail, struct mailbox_header_lookup_ctx *headers, struct istream **stream_r); /* Returns input stream pointing to beginning of message header. - hdr_size and body_size are updated unless they're NULL. */ + hdr_size and body_size are updated unless they're NULL. The returned stream + is destroyed automatically, don't unreference it. */ int mail_get_stream(struct mail *mail, struct message_size *hdr_size, struct message_size *body_size, struct istream **stream_r);