From dd38649f88ac0e6828c9a1b8c65a03ac8bba9b6f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 9 Dec 2023 22:16:27 +0100 Subject: Fixed bogus sscanf() call --- FICS/adminproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/adminproc.c') 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); -- cgit v1.2.3