diff options
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r-- | mbbsd/fav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index a1f2336a..bf1c7b7e 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -582,8 +582,8 @@ int fav_save(void) if (!dirty) return 0; - setuserfile(buf, FAV4".tmp"); setuserfile(buf2, FAV4); + snprintf(buf, sizeof(buf), "%s.tmp.%x",buf2, getpid()); fwp = fopen(buf, "w"); if(fwp == NULL) return -1; |