]> code.citadel.org Git - citadel.git/blobdiff - webcit/msg_renderers.c
* swap I/O to the new functions
[citadel.git] / webcit / msg_renderers.c
index 5481cdcebfea03c35a0610ea3cd63e534f0d8acd..356fdceb2454fe4d6995bc2e945ae948185be738 100644 (file)
@@ -455,7 +455,7 @@ void tmplput_MAIL_SUMM_DATE_FULL(StrBuf *Target, WCTemplputParams *TP)
 void tmplput_MAIL_SUMM_DATE_NO(StrBuf *Target, WCTemplputParams *TP)
 {
        message_summary *Msg = (message_summary*) CTX;
-       StrBufAppendPrintf(Target, 64, "%ld", Msg->date, 0);
+       StrBufAppendPrintf(Target, "%ld", Msg->date, 0);
 }
 
 
@@ -495,7 +495,7 @@ void render_MIME_VCard(wc_mime_attachment *Mime, StrBuf *RawData, StrBuf *FoundC
                }
 
                /* In all cases, display the full card */
-               display_vcard(Buf, ChrPtr(Mime->Data), 0, 1, NULL, Mime->msgnum);
+               display_vcard(Buf, Mime->Data, 0, 1, NULL, Mime->msgnum);
                FreeStrBuf(&Mime->Data);
                Mime->Data = Buf;
        }