aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 19:18:02 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 19:18:02 +0100
commit560ead7c9b5c06bd59d6ca6f3a36defab805a785 (patch)
tree7683743231ac1b49448d5b9a35a49f516d48436a
parent90f35d9d0fb6387bbcd94d738bb8cc3ce64ae87b (diff)
Added blank lines
-rw-r--r--FICS/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 3bd7d14..a5557b8 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -763,11 +763,14 @@ style12(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);
return 0;