Skip to content

Commit

Permalink
Print the parsed Message-ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ewan Mellor committed Apr 21, 2014
1 parent 732faa9 commit a3d4a48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/mime-parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ static void display_field(struct mailimf_field * field)
display_subject(field->fld_data.fld_subject);
printf("\n");
break;
case MAILIMF_FIELD_MESSAGE_ID:
printf("Message-ID: %s\n", field->fld_data.fld_message_id->mid_value);
break;
}
}

Expand Down

0 comments on commit a3d4a48

Please sign in to comment.