comparison src/readpst.c @ 292:e0e5844d91b3

patch from Leo Antunes for Status: header
author Carl Byington <carl@five-ten-sg.com>
date Sun, 19 Jun 2011 09:08:29 -0700
parents bc23fba0da8e
children 8b3a827b71f4
comparison
equal deleted inserted replaced
291:bc23fba0da8e 292:e0e5844d91b3
1557 // // we could do rfc2047 encoding here if needed 1557 // // we could do rfc2047 encoding here if needed
1558 // fprintf(f_output, "%.*s\n", (int)(e-h), h); 1558 // fprintf(f_output, "%.*s\n", (int)(e-h), h);
1559 // h = e + d; 1559 // h = e + d;
1560 //} 1560 //}
1561 } 1561 }
1562 }
1563
1564 // record read status
1565 if ((item->flags & PST_FLAG_READ) == PST_FLAG_READ) {
1566 fprintf(f_output, "Status: RO\n");
1562 } 1567 }
1563 1568
1564 // create required header fields that are not already written 1569 // create required header fields that are not already written
1565 1570
1566 if (!has_from) { 1571 if (!has_from) {