summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-13 22:54:49 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-13 22:54:49 +0800
commit000b2c262e67107024cecf2f4f87ac0a30ebde6a (patch)
treee0b5eff19f3087ff356e1b5b5cfa5f8f38436d2c /mbbsd/fav.c
parent3a28305e6403f72205ca96c1804eb537939c0868 (diff)
downloadpttbbs-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
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c5
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))