return;
}
- cprintf("%ld|%s|\n", msgnum, (msg->cm_fields['E'] ? msg->cm_fields['E'] : ""));
+ cprintf("%ld|%s|%s\n",
+ msgnum,
+ (msg->cm_fields['E'] ? msg->cm_fields['E'] : ""),
+ (msg->cm_fields['T'] ? msg->cm_fields['T'] : "0"));
CtdlFreeMessage(msg);
}
}
}
}
+ else if (i == 'K') {
+ cprintf("Reply-To: <%s>%s", mptr, nl);
+ }
if (mptr != mpptr)
free (mptr);
}
int flags /* should the bessage be exported clean? */
) {
int i;
- char *mptr;
+ char *mptr = NULL;
const char *nl; /* newline string */
struct ma_info ma;