diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-08 08:28:37 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-08 08:28:37 +0800 |
commit | b940b12c950e15e25e5bfcabcc43f300b06d1dfc (patch) | |
tree | b97cd76e49ea00b486307ecd44bdd025f640feb5 /mbbsd/voteboard.c | |
parent | 9e0669abee6d8ec68a43c15866deeab754b2a81d (diff) | |
download | pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar.gz pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar.bz2 pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar.lz pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar.xz pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.tar.zst pttbbs-b940b12c950e15e25e5bfcabcc43f300b06d1dfc.zip |
Using `&func_name' instead of direct `func_name' as function pointer.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2477 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/voteboard.c')
-rw-r--r-- | mbbsd/voteboard.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c index 28e9f7a6..443b4d4b 100644 --- a/mbbsd/voteboard.c +++ b/mbbsd/voteboard.c @@ -237,9 +237,9 @@ do_voteboard(int type) generalnamecomplete("請輸入看板英文名稱:", topic, IDLEN+1, SHM->Bnumber, - completeboard_compar, - completeboard_permission, - completeboard_getname); + &completeboard_compar, + &completeboard_permission, + &completeboard_getname); snprintf(title, sizeof(title), "[廢除舊板] %s", topic); snprintf(genbuf, sizeof(genbuf), "%s\n\n%s%s\n", "廢除舊板", "英文名稱: ", topic); @@ -250,9 +250,9 @@ do_voteboard(int type) generalnamecomplete("請輸入看板英文名稱:", topic, IDLEN+1, SHM->Bnumber, - completeboard_compar, - completeboard_permission, - completeboard_getname); + &completeboard_compar, + &completeboard_permission, + &completeboard_getname); snprintf(title, sizeof(title), "[連署板主] %s", topic); snprintf(genbuf, sizeof(genbuf), "%s\n\n%s%s\n%s%s", "連署板主", "英文名稱: ", topic, "申請 ID : ", cuser.userid); strcat(genbuf, "\n申請政見: \n"); @@ -262,9 +262,9 @@ do_voteboard(int type) generalnamecomplete("請輸入看板英文名稱:", topic, IDLEN+1, SHM->Bnumber, - completeboard_compar, - completeboard_permission, - completeboard_getname); + &completeboard_compar, + &completeboard_permission, + &completeboard_getname); snprintf(title, sizeof(title), "[罷免板主] %s", topic); snprintf(genbuf, sizeof(genbuf), "%s\n\n%s%s\n%s", "罷免板主", "英文名稱: ", |