Some recently-added functions were to hard for me to read without
the expected whitespace. Fix these.
header = notmuch_message_get_header (message, "reply-to");
list = internet_address_list_parse_string (header);
header = notmuch_message_get_header (message, "reply-to");
list = internet_address_list_parse_string (header);
if (internet_address_list_length (list) != 1)
return 0;
if (internet_address_list_length (list) != 1)
return 0;
address = internet_address_list_get_address (list, 0);
if (INTERNET_ADDRESS_IS_GROUP (address))
return 0;
address = internet_address_list_get_address (list, 0);
if (INTERNET_ADDRESS_IS_GROUP (address))
return 0;
mailbox = INTERNET_ADDRESS_MAILBOX (address);
addr = internet_address_mailbox_get_addr (mailbox);
mailbox = INTERNET_ADDRESS_MAILBOX (address);
addr = internet_address_mailbox_get_addr (mailbox);
/* Note that strcasestr() is a GNU extension, strstr() might be sufficient */
if (strcasestr (notmuch_message_get_header (message, "to"), addr) == 0 ||
strcasestr (notmuch_message_get_header (message, "cc"), addr) == 0)
/* Note that strcasestr() is a GNU extension, strstr() might be sufficient */
if (strcasestr (notmuch_message_get_header (message, "to"), addr) == 0 ||
strcasestr (notmuch_message_get_header (message, "cc"), addr) == 0)
/* Augments the recipients of reply from the headers of message.
*
/* Augments the recipients of reply from the headers of message.
*
if (from_addr == NULL)
from_addr = addr;
}
if (from_addr == NULL)
from_addr = addr;
}