dovecot-2.0: lib-storage: Comment update to mail_get_stream()

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 25 20:11:11 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/1b2caff94b49
changeset: 12350:1b2caff94b49
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Oct 25 18:11:04 2010 +0100
description:
lib-storage: Comment update to mail_get_stream()

diffstat:

 src/lib-storage/mail-storage.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r d1fd5b84d410 -r 1b2caff94b49 src/lib-storage/mail-storage.h
--- a/src/lib-storage/mail-storage.h	Mon Oct 25 17:34:10 2010 +0100
+++ b/src/lib-storage/mail-storage.h	Mon Oct 25 18:11:04 2010 +0100
@@ -658,7 +658,8 @@
 			   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);
 


More information about the dovecot-cvs mailing list