diff options
| author | Markus Uhlin <markus@nifty-networks.net> | 2026-04-08 01:35:08 +0200 |
|---|---|---|
| committer | Markus Uhlin <markus@nifty-networks.net> | 2026-04-08 01:35:08 +0200 |
| commit | 2e75876b07007e447c2eed5e944a27fc7815073e (patch) | |
| tree | d9a42991886989fc6c823be11d73eecdb32aec5f /FICS | |
| parent | 51cd6586d5fee35756135e2d930feeffa41b2b3e (diff) | |
Discarded snprintf() return values
Diffstat (limited to 'FICS')
| -rw-r--r-- | FICS/comproc.c | 7 |
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", |
