aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 22:46:59 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 22:46:59 +0100
commita253fcff72afb814cfae8220528335b6a3484006 (patch)
treeb007b7138d86160dc905ccfabb679c347fe0f01d /FICS/board.c
parent1b625d38b700680453211c53acd29e3189adc3c2 (diff)
move_and_time: return a pointer to the start of 'tmp'
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 6a241d5..11a9c19 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -236,7 +236,7 @@ move_and_time(move_t *m)
static char tmp[20];
sprintf(tmp, "%-7s (%s)", m->algString, tenth_str(m->tookTime, 0));
- return tmp;
+ return &tmp[0];
}
PRIVATE int