aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 19:52:17 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 19:52:17 +0100
commitab72c482a5cca9bfc4bfe275b42a21741f815894 (patch)
tree4191fe3ed8f47c52cb0c93acdf6b37897d209baf /FICS/board.c
parent1885b61f68b4e03582e8d78c43d6d9602cbf8840 (diff)
Added blank lines
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c3
1 files changed, 3 insertions, 0 deletions
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");