]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
* Killed off CtdlGetDynamicSymbol() and just put all the symbols in server.h
[citadel.git] / citadel / server_main.c
index 4e574bb64b9dad00b5095cf0e8fea4917ee2fc15..014c68b4addd613d1fcfee279eb8cf0cccb0ff3a 100644 (file)
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
 
                /* -t specifies where to log trace messages to */
                if (!strncmp(argv[a], "-t", 2)) {
-                       strcpy(tracefile, argv[a]);
+                       safestrncpy(tracefile, argv[a], sizeof tracefile);
                        strcpy(tracefile, &tracefile[2]);
                        freopen(tracefile, "r", stdin);
                        freopen(tracefile, "w", stdout);