diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 17:14:32 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-16 17:14:32 +0100 |
commit | 4dea62206172c23449bbb34cb201c7a9e3de751c (patch) | |
tree | d0ea834cc7b6a99f5b3b134c4afab38cca03f317 | |
parent | 264e027baf9ed811215e234a2d3357cd50f005dc (diff) |
Fixed compiler warning
-rw-r--r-- | FICS/eco.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -254,8 +254,10 @@ LONG_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); |