From ab72c482a5cca9bfc4bfe275b42a21741f815894 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Dec 2023 19:52:17 +0100 Subject: Added blank lines --- FICS/board.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'FICS') diff --git a/FICS/board.c b/FICS/board.c index 71c6cce..75f289d 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -627,11 +627,14 @@ style10(game_state_t *b, move_t *ml) : "none"), (orient == WHITE ? 0 : 1)); + too_long = (ret < 0 || (size_t)ret >= sizeof tmp); + if (too_long) { fprintf(stderr, "FICS: %s: warning: snprintf truncated\n", __func__); } + strcat(bstring, tmp); sprintf(tmp, ">10<\n"); -- cgit v1.2.3