summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 413ad26d..2456fdda 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -503,9 +503,9 @@ select_read(keeploc_t * locmem, int sr_mode)
}
if ((fd = open(currdirect, O_RDONLY, 0)) != -1) {
- snprintf(genbuf, sizeof(genbuf), "SR.%s", cuser->userid);
+ snprintf(genbuf, sizeof(genbuf), "SR.%s", cuser.userid);
if (currstat == RMAIL)
- sethomefile(fpath, cuser->userid, genbuf);
+ sethomefile(fpath, cuser.userid, genbuf);
else
setbfile(fpath, currboard, genbuf);
if (((fr = open(fpath, O_WRONLY | O_CREAT | O_TRUNC, 0600)) != -1)) {