adopt bf72ee1d83afb1735e5c13636a1f24c7247b2aa7 to stable: CTX is not a function here.
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 19 Jul 2012 20:07:25 +0000 (22:07 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 19 Jul 2012 20:07:25 +0000 (22:07 +0200)
webcit/msg_renderers.c

index 123cfc4771232137a5161a154e3a61af2e01a81f..93ad167725f18e3104881656932883f293a042b3 100644 (file)
@@ -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;
 }