Skip to content
Snippets Groups Projects
Commit 9b004547 authored by rswindell's avatar rswindell
Browse files

Call MsgBase.get_msg_header() with expand_fields = false.

parent 1e254c65
Branches
Tags
No related merge requests found
......@@ -10,7 +10,9 @@ if(!mail.open()) {
exit();
}
for(i=0;i<mail.total_msgs;i++) {
hdr = mail.get_msg_header(true,i);
hdr = mail.get_msg_header( /* by_offset: */ true,
/* offset: */ i,
/* expand_fields: */ false);
printf("#%lu from: %-30s %08lx\r\n",hdr.number,hdr.from,hdr.netattr);
if(hdr && hdr.netattr&MSG_INTRANSIT) {
hdr.netattr&=~MSG_INTRANSIT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment