summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/admin.c4
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);
}