aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/fics_addplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/fics_addplayer.c')
-rw-r--r--FICS/fics_addplayer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index eef3045..1417251 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -129,7 +129,8 @@ main(int argc, char *argv[])
printf("Added player account: >%s< >%s< >%s< >%s<\n",
funame, fname, email, password);
- sprintf(text, "\nYour player account has been created.\n\n"
+ snprintf(text, sizeof text,
+ "\nYour player account has been created.\n\n"
"Login Name: %s\n"
"Full Name: %s\n"
"Email Address: %s\n"