]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgform.c
* Replaced all "Citadel/UX" references with "Citadel"
[citadel.git] / citadel / msgform.c
index f24bf8801b5ad5759da027f8845cd23511dbfabb..ba6f2fdfce4ad17b36958b29d79fad0e1dff40c2 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * If the -q (quiet or qwk) flag is used, only the message text prints, and
  * then it stops at the end of the first message it prints.
- * This is used by the QWK reader for Citadel/UX during message format
+ * This is used by the QWK reader for Citadel during message format
  * translation.
  *
  */
@@ -47,7 +47,7 @@ char *strerror(int e)
 {
        static char buf[32];
 
-       sprintf(buf,"errno = %d",e);
+       snprintf(buf, sizeof buf, "errno = %d",e);
        return(buf);
        }
 #endif