diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 18:07:38 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 18:07:38 +0100 |
commit | 84a0a4d7f12ea294bb51d558780e06bb82c5ad56 (patch) | |
tree | 6e615e76a265faf17ba677b735a8ea6d0dfd9c6b /FICS | |
parent | c58d496140421d5c831e40e87c3e5c473f93cbc3 (diff) |
ECO_init: fixed compiler warning
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/eco.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -170,8 +170,10 @@ ECO_init() if (feof(fp)) continue; + /* XXX */ sscanf(ptmp, "%[\x21-z] %s", FENpos, onMove); - sprintf(FENpos, "%s %s", FENpos, onMove); + strcat(FENpos, " "); + strcat(FENpos, onMove); strcpy(ptmp, ""); fgets(ptmp, 1024, fp); |