aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 55330cb..99f7a85 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -199,9 +199,9 @@ game_finish(int g)
}
PUBLIC void
-MakeFENpos(int g, char *FEN)
+MakeFENpos(int g, char *FEN, size_t size)
{
- strcpy(FEN, boardToFEN(g));
+ mstrlcpy(FEN, boardToFEN(g), size);
}
PUBLIC char *