From 1c3a693c66afa37ad71cbb24bd57e01a9e71da99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Mon, 8 Dec 2008 22:40:33 +0000 Subject: [PATCH] * ignore path/suff/pref headers. --- webcit/msg_renderers.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/webcit/msg_renderers.c b/webcit/msg_renderers.c index 48f32507f..90c3e5eab 100644 --- a/webcit/msg_renderers.c +++ b/webcit/msg_renderers.c @@ -175,8 +175,10 @@ int summcmp_rdate(const void *s1, const void *s2) { } /*----------------------------------------------------------------------------*/ - -///void examine_subj(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) +/* Don't wanna know... or? */ +void examine_pref(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) {return;} +void examine_suff(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) {return;} +void examine_path(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) {return;} void examine_nhdr(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset) { @@ -381,7 +383,7 @@ void render_MAIL(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *FoundCharset if ( (!IsEmptyStr(mime_submessages)) && (!section[0]) ) { for (i=0; i"); read_message(Mime->msgnum, 1, ChrPtr(Mime->Section)); wprintf(""); @@ -1085,4 +1087,9 @@ InitModule_MSGRENDERERS RegisterMsgHdr(HKEY("Content-length"), examine_content_lengh, 0); RegisterMsgHdr(HKEY("Content-transfer-encoding"), examine_content_encoding, 0); RegisterMsgHdr(HKEY("charset"), examine_charset, 0); + + /* Don't care... */ + RegisterMsgHdr(HKEY("pref"), examine_pref, 0); + RegisterMsgHdr(HKEY("suff"), examine_suff, 0); + RegisterMsgHdr(HKEY("path"), examine_path, 0); } -- 2.39.2