X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fhttp_datestring.c;h=f3db04ce9783427b1d5ed8060121eebb37b4e389;hp=908e65424e1e00bbf8f1d60ec062c8462164b48b;hb=808f3be91dd6b6677e380695e2f16e6473141a7e;hpb=7cf191852d60ac09cdc1df9510c438aa42211d50 diff --git a/webcit/http_datestring.c b/webcit/http_datestring.c index 908e65424..f3db04ce9 100644 --- a/webcit/http_datestring.c +++ b/webcit/http_datestring.c @@ -64,13 +64,13 @@ void http_datestring(char *buf, size_t n, time_t xtime) { } -void tmplput_nowstr(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) +void tmplput_nowstr(StrBuf *Target, WCTemplputParams *TP) { time_t now; now = time(NULL); StrEscAppend(Target, NULL, asctime(localtime(&now)), 0, 0); } -void tmplput_nowno(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) +void tmplput_nowno(StrBuf *Target, WCTemplputParams *TP) { time_t now; now = time(NULL);