diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-19 01:36:55 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-19 01:36:55 +0800 |
commit | 4b9eb891025c6e75a185ce1ef4ede04075b6e0ce (patch) | |
tree | 45bce6ffc1055cbc0ed88d71893d185afabf29ad | |
parent | 8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0 (diff) | |
download | pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar.gz pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar.bz2 pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar.lz pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar.xz pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.tar.zst pttbbs-4b9eb891025c6e75a185ce1ef4ede04075b6e0ce.zip |
fix last commiting bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/admin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 5abb39da..dfa825b4 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -260,8 +260,8 @@ setup_man(boardheader_t * board) void delete_symbolic_link(boardheader_t *bh, int bid) { - memset(&bh, 0, sizeof(bh)); - substitute_record(fn_board, &bh, sizeof(bh), bid); + memset(bh, 0, sizeof(boardheader_t)); + substitute_record(fn_board, bh, sizeof(boardheader_t), bid); reset_board(bid); log_usies("DelLink", bh->brdname); } |