I think I was being uselessly terse when I dropped that. Put it back.
char *query_string;
const char *headers[] = {
char *query_string;
const char *headers[] = {
- "From", "To", "Cc", "Bcc", "Date"
+ "Subject", "From", "To", "Cc", "Bcc", "Date"
};
const char *name, *value;
unsigned int i;
};
const char *name, *value;
unsigned int i;
printf ("%s\n", _get_one_line_summary (ctx, message));
printf ("%s\n", _get_one_line_summary (ctx, message));
- printf ("%s\n", notmuch_message_get_header (message, "subject"));
-
for (i = 0; i < ARRAY_SIZE (headers); i++) {
name = headers[i];
value = notmuch_message_get_header (message, name);
for (i = 0; i < ARRAY_SIZE (headers); i++) {
name = headers[i];
value = notmuch_message_get_header (message, name);