From 151beda1a97e23587eddd10f1a44c9ac03ce0233 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Wed, 21 Apr 2010 19:20:31 +0000 Subject: [PATCH] * headers_euid(): print out timestamp of message too, DAV needs this. * CtdlOutputPreLoadedMsg(): initialize pointer to silence value --- citadel/msgbase.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/citadel/msgbase.c b/citadel/msgbase.c index 72f536278..af3b4c6f5 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -309,7 +309,10 @@ void headers_euid(long msgnum, void *userdata) return; } - cprintf("%ld|%s|\n", msgnum, (msg->cm_fields['E'] ? msg->cm_fields['E'] : "")); + cprintf("%ld|%s|%ld\n", + msgnum, + (msg->cm_fields['E'] ? msg->cm_fields['E'] : ""), + msg->cm_fields['T']); CtdlFreeMessage(msg); } @@ -2055,7 +2058,7 @@ int CtdlOutputPreLoadedMsg( int flags /* should the bessage be exported clean? */ ) { int i; - char *mptr; + char *mptr = NULL; const char *nl; /* newline string */ struct ma_info ma; -- 2.39.2