diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 19:18:02 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 19:18:02 +0100 |
commit | 560ead7c9b5c06bd59d6ca6f3a36defab805a785 (patch) | |
tree | 7683743231ac1b49448d5b9a35a49f516d48436a /FICS/board.c | |
parent | 90f35d9d0fb6387bbcd94d738bb8cc3ce64ae87b (diff) |
Added blank lines
Diffstat (limited to 'FICS/board.c')
-rw-r--r-- | FICS/board.c | 3 |
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; |