summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c
index 9d87ee8f..e88b0030 100644
--- a/mbbsd/friend.c
+++ b/mbbsd/friend.c
@@ -448,9 +448,9 @@ friend_edit(int type)
fclose(fp);
}
} else if (type == BOARD_WATER) {
+ boardheader_t *bp = NULL;
currbid = getbnum(currboard);
- boardheader_t *bp =
- getbcache(currbid);
+ bp = getbcache(currbid);
bp->perm_reload = now;
substitute_record(fn_board, bp, sizeof(boardheader_t), currbid);
// log_usies("SetBoard", bp->brdname);