removed all references to sprintf from several files (not all files yet)
[citadel.git] / citadel / file_ops.c
index 1d1e8705d87ff42274370e38bbed7eed37bb0fe7..f1536050725fde00f6fb0ed8e0f2e665554367be 100644 (file)
@@ -661,7 +661,7 @@ void cmd_ucls(char *cmd)
                }
 
                /* put together an upload notice */
-               sprintf(upload_notice,
+               snprintf(upload_notice, sizeof upload_notice,
                        "NEW UPLOAD: '%s'\n %s\n",
                        CC->upl_file, CC->upl_comment);
                quickie_message(CC->curr_user, NULL, CC->quickroom.QRname,