diff options
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r-- | mbbsd/fav.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index daea0c5c..18d80353 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -461,9 +461,7 @@ int fav_save(void) return -1; } - /* to avoid write failed */ - if (dashs(buf) != 0) - Rename(buf, buf2); + Rename(buf, buf2); return 0; } |