strcpy(from, &buf[6]);
else if (!strncasecmp(buf,"Content-type: ",14))
strcpy(content_type, &buf[14]);
+ else if (!strncasecmp(buf,"From ", 5)) /* ignore */
+ { }
else {
if (extra_headers == NULL) {
extra_headers = malloc(strlen(buf)+2);
/* signify start of msg text */
if (mode == MT_CITADEL) cprintf("text\n");
- if (mode == MT_RFC822) cprintf("\n");
+ if ( (mode == MT_RFC822) && (format_type != 4) ) cprintf("\n");
/* If the format type on disk is 1 (fixed-format), then we want
* everything to be output completely literally ... regardless of