aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/playerdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index dbc36a8..19c42c9 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -1501,7 +1501,7 @@ player_pend_print(int p, pending *pend)
switch (pend->type) {
case PEND_MATCH:
- sprintf(tmp, "%s.", game_str(pend->param5,
+ snprintf(tmp, sizeof tmp, "%s.", game_str(pend->param5,
(pend->param1 * 60),
pend->param2,
(pend->param3 * 60),