* add contexttype, so the subst can precheck the context pointer for us, and bad...
[citadel.git] / webcit / context_loop.c
index f6dc44e8016c99abac208e95459209af2fca818d..1f0cf05e963c74dea87b103619cc6b92791fc031 100644 (file)
@@ -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);
 }