From: Wilfried Goesgens Date: Thu, 19 Jul 2012 20:07:25 +0000 (+0200) Subject: adopt bf72ee1d83afb1735e5c13636a1f24c7247b2aa7 to stable: CTX is not a function here. X-Git-Tag: v8.14~6 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=494eb9786c001557a6923a1ac035121ce3804daf adopt bf72ee1d83afb1735e5c13636a1f24c7247b2aa7 to stable: CTX is not a function here. --- diff --git a/webcit/msg_renderers.c b/webcit/msg_renderers.c index 123cfc477..93ad16772 100644 --- a/webcit/msg_renderers.c +++ b/webcit/msg_renderers.c @@ -388,7 +388,7 @@ void examine_replyto(message_summary *Msg, StrBuf *HdrLine, StrBuf *FoundCharset } void tmplput_MAIL_SUMM_REPLYTO(StrBuf *Target, WCTemplputParams *TP) { - message_summary *Msg = (message_summary*) CTX(CTX_MAILSUM); + message_summary *Msg = (message_summary*) CTX; StrBufAppendTemplate(Target, TP, Msg->ReplyTo, 0); } @@ -456,7 +456,7 @@ int Conditional_MAIL_SUMM_CCCC(StrBuf *Target, WCTemplputParams *TP) } int Conditional_MAIL_SUMM_REPLYTO(StrBuf *Target, WCTemplputParams *TP) { - message_summary *Msg = (message_summary*) CTX(CTX_MAILSUM); + message_summary *Msg = (message_summary*) CTX; return StrLength(Msg->ReplyTo) > 0; }