X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=webcit%2Fcontext_loop.c;h=1f0cf05e963c74dea87b103619cc6b92791fc031;hp=f6dc44e8016c99abac208e95459209af2fca818d;hb=b4ad306de9560ec731db113ed509a1172209c444;hpb=343747d4644c830f40bae602e69dab26a8ae38d7 diff --git a/webcit/context_loop.c b/webcit/context_loop.c index f6dc44e80..1f0cf05e9 100644 --- a/webcit/context_loop.c +++ b/webcit/context_loop.c @@ -621,7 +621,7 @@ void context_loop(int *sock) } -void tmpl_nonce(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context) +void tmpl_nonce(StrBuf *Target, int nArgs, WCTemplateToken *Tokens, void *Context, int ContextType) { struct wcsession *WCC = WC; StrBufAppendPrintf(Target, "%ld", @@ -632,5 +632,5 @@ void InitModule_CONTEXT (void) { - RegisterNamespace("NONCE", 0, 0, tmpl_nonce); + RegisterNamespace("NONCE", 0, 0, tmpl_nonce, 0); }