]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Fix mail_get_headers() API comment
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 11 Dec 2018 18:28:33 +0000 (20:28 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 6 Feb 2019 08:09:36 +0000 (10:09 +0200)
src/lib-storage/mail-storage.h

index 9d6c87495696ce985eb394355712c751225be8e1..278fb71a0efa7c243e93c5427557a64953372086 100644 (file)
@@ -892,7 +892,8 @@ int mail_get_first_header(struct mail *mail, const char *field,
 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 headers were found, 0 if not (value_r==NULL) or -1 if error. */
+   Returns 1 if headers were found, 0 if not (value_r[0]==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.