Mercurial > dovecot > core-2.2
changeset 21358:3c88a6868b52
lib-storage: Update mail_get_headers() API comment
The API was changed by 990d55ce3fc461eeacce3ef830b1c5dde5c3f150
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 18 Dec 2016 12:03:10 +0200 |
parents | 33ff22751f44 |
children | 3ebc6467c1a9 |
files | src/lib-storage/mail-storage.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Sun Dec 18 13:20:20 2016 +0100 +++ b/src/lib-storage/mail-storage.h Sun Dec 18 12:03:10 2016 +0200 @@ -845,7 +845,7 @@ int mail_get_first_header_utf8(struct mail *mail, const char *field, const char **value_r); /* Return a NULL-terminated list of values for each found field. - Returns -1 if error, 0 otherwise (with or without headers found). */ + Returns 1 if headers were found, 0 if not (value_r==NULL) or -1 if error. */ int mail_get_headers(struct mail *mail, const char *field, const char *const **value_r); /* Like mail_get_headers(), but decode MIME encoded words to UTF-8.