X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fwebserver.c;h=6a0c80abf7a0fadcccb3d2c61840aed4265bbf42;hb=836c829b448402fabc06b420bd878583a725f608;hp=b6cdd996068d3349e8ee02c9577d292c47d7c2e3;hpb=ec9bc2af2a1a966456d3a4b14bfc8ae41e99a89e;p=citadel.git diff --git a/webcit/webserver.c b/webcit/webserver.c index b6cdd9960..6a0c80abf 100644 --- a/webcit/webserver.c +++ b/webcit/webserver.c @@ -587,6 +587,7 @@ void spawn_another_worker_thread() const char foobuf[32]; const char *nix(void *vptr) {snprintf(foobuf, 32, "%0x", (long) vptr); return foobuf;} #endif +void InitTemplateCache(void); /* * \brief Here's where it all begins. @@ -621,6 +622,7 @@ int main(int argc, char **argv) WirelessLocalTemplateCache = NewHash(1, NULL); TemplateCache = NewHash(1, NULL); LocalTemplateCache = NewHash(1, NULL); + InitTemplateCache(); initialise_modules();