diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-13 22:54:49 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-13 22:54:49 +0800 |
commit | 000b2c262e67107024cecf2f4f87ac0a30ebde6a (patch) | |
tree | e0b5eff19f3087ff356e1b5b5cfa5f8f38436d2c | |
parent | 3a28305e6403f72205ca96c1804eb537939c0868 (diff) | |
download | pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar.gz pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar.bz2 pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar.lz pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar.xz pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.tar.zst pttbbs-000b2c262e67107024cecf2f4f87ac0a30ebde6a.zip |
fix compile error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1591 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/fav.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index 45b8b615..3260230a 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -960,13 +960,14 @@ int fav_v3_to_v4(void) char buf[128]; short nDatas; char nLines; + fav_t *fav4; + fav3_board_t *brd; setuserfile(buf, FAV3); if (!dashf(buf)) return -1; - fav_t *fav4 = (fav_t *)fav_malloc(sizeof(fav_t)); - fav3_board_t *brd; + fav4 = (fav_t *)fav_malloc(sizeof(fav_t)); setuserfile(buf, FAV4); if (dashf(buf)) |