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) ...@@ -493,7 +493,7 @@ message_has_bcc(message_t msg)
493 if ((status = message_get_header (msg, &header))) 493 if ((status = message_get_header (msg, &header)))
494 return status; 494 return status;
495 495
496 status = header_get_value (header, MU_HEADER_BCC, NULL, NULL, &bccsz); 496 status = header_get_value (header, MU_HEADER_BCC, NULL, 0, &bccsz);
497 497
498 /* ENOENT, or there was a Bcc: field. */ 498 /* ENOENT, or there was a Bcc: field. */
499 return status == ENOENT ? 0 : 1; 499 return status == ENOENT ? 0 : 1;
......