Commit caf9721f caf9721f75d2fb353fd2f177f54b0a90c5a4b823 by Sergey Poznyakoff

(message_has_bcc): Fixed inconsistency in passing arguments to header_get_value().

1 parent dee7bf89
......@@ -493,7 +493,7 @@ message_has_bcc(message_t msg)
if ((status = message_get_header (msg, &header)))
return status;
status = header_get_value (header, MU_HEADER_BCC, NULL, NULL, &bccsz);
status = header_get_value (header, MU_HEADER_BCC, NULL, 0, &bccsz);
/* ENOENT, or there was a Bcc: field. */
return status == ENOENT ? 0 : 1;
......