aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c5
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;
}