diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-12-02 12:58:50 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-12-02 12:58:50 +0100 |
commit | a44818e3b6939d11973d3feb14f4755b73ea71a2 (patch) | |
tree | 54299421669a8f809c938840c6bcf57806fc419f | |
parent | 8bd157ea55d34a83002e58ad446f27ea970cd75f (diff) |
game_save: log link() error
-rw-r--r-- | FICS/gamedb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c index fce8ea3..3b6d025 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -1575,8 +1575,9 @@ game_save(int g) /* * Create link for easier stored game finding */ - if (bp->login[0] != wp->login[0]) - link(fname, lname); + if (bp->login[0] != wp->login[0] && + link(fname, lname) != 0) + warn("%s: link() error", __func__); return 0; } |