aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2026-04-08 01:35:08 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2026-04-08 01:35:08 +0200
commit2e75876b07007e447c2eed5e944a27fc7815073e (patch)
treed9a42991886989fc6c823be11d73eecdb32aec5f
parent51cd6586d5fee35756135e2d930feeffa41b2b3e (diff)
Discarded snprintf() return values
-rw-r--r--FICS/comproc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index 1a395ca..e7fb4fa 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -1960,8 +1960,8 @@ com_mailsource(int p, param_list param)
pprintf(p, "Found no source file matching \"%s\".\n",
(iwant ? iwant : ""));
} else if ((count == 1) || !strcmp(iwant ? iwant : "", *buffer)) {
- snprintf(subj, sizeof subj, "FICS source file from server "
- "%s: %s",
+ (void) snprintf(subj, sizeof subj, "FICS source file from "
+ "server %s: %s",
fics_hostname,
*buffer);
snprintf(fname, sizeof fname, "%s/%s",
@@ -2038,7 +2038,8 @@ com_mailhelp(int p, param_list param)
pprintf(p, "Found no help file matching \"%s\".\n",
(iwant ? iwant : ""));
} else if (count == 1 || !strcmp(*buffer, iwant ? iwant : "")) {
- snprintf(subj, sizeof subj, "FICS help file from server %s: %s",
+ (void) snprintf(subj, sizeof subj, "FICS help file from "
+ "server %s: %s",
fics_hostname,
*buffer);
snprintf(fname, sizeof fname, "%s/%s",