diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 19:52:17 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 19:52:17 +0100 |
commit | ab72c482a5cca9bfc4bfe275b42a21741f815894 (patch) | |
tree | 4191fe3ed8f47c52cb0c93acdf6b37897d209baf | |
parent | 1885b61f68b4e03582e8d78c43d6d9602cbf8840 (diff) |
Added blank lines
-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 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"); |