aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-09 22:16:27 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-09 22:16:27 +0100
commitdd38649f88ac0e6828c9a1b8c65a03ac8bba9b6f (patch)
treec3eef6892852811dd42f2174a53ccc396f5e7084
parent96d1ac6dad117fe8aa6c721e2c7622ab53c1d5f3 (diff)
Fixed bogus sscanf() call
-rw-r--r--FICS/adminproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c
index 7027e17..b4b4ced 100644
--- a/FICS/adminproc.c
+++ b/FICS/adminproc.c
@@ -322,7 +322,7 @@ PUBLIC int com_anews(int p, param_list param)
/* param all - displays all news items */
pprintf(p, "Index of all admin news items:\n");
fgets(junk, MAX_LINE_SIZE, fp);
- sscanf(junkp, "%d %s", &crtime, count);
+ sscanf(junk, "%d %s", &crtime, count);
rscan_news(fp, p, 0);
junkp = junk;
junkp = nextword(junkp);