diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-09 22:16:27 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-09 22:16:27 +0100 |
commit | dd38649f88ac0e6828c9a1b8c65a03ac8bba9b6f (patch) | |
tree | c3eef6892852811dd42f2174a53ccc396f5e7084 | |
parent | 96d1ac6dad117fe8aa6c721e2c7622ab53c1d5f3 (diff) |
Fixed bogus sscanf() call
-rw-r--r-- | FICS/adminproc.c | 2 |
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); |