]> code.citadel.org Git - citadel.git/blobdiff - webcit/webserver.c
* use snprintf
[citadel.git] / webcit / webserver.c
index 4d64727922ff6ba22af10220fd7271e66b8b03b5..82d9e396cce9629bc7c02ca305f7762dd4ff2e45 100644 (file)
@@ -662,6 +662,9 @@ int main(int argc, char **argv)
 
        strcpy(uds_listen_path, "");
 
+       if (getenv("TZ") == NULL)
+               putenv("TZ=UTC");
+
        /** Parse command line */
 #ifdef HAVE_OPENSSL
        while ((a = getopt(argc, argv, "h:i:p:t:x:dD:cfs")) != EOF)