From: Wilfried Göesgens Date: Wed, 21 Apr 2010 19:20:31 +0000 (+0000) Subject: * headers_euid(): print out timestamp of message too, DAV needs this. X-Git-Tag: v7.86~262 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=151beda1a97e23587eddd10f1a44c9ac03ce0233;p=citadel.git * headers_euid(): print out timestamp of message too, DAV needs this. * CtdlOutputPreLoadedMsg(): initialize pointer to silence value --- 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;