This commit is contained in:
Andrew Pamment 2017-04-19 15:36:45 +10:00
parent de3fa38085
commit cc5c1aad1f

2
bbs.c
View File

@ -751,7 +751,7 @@ tryagain:
fputs(user->loginname, nodefile); fputs(user->loginname, nodefile);
fclose(nodefile); fclose(nodefile);
sprintf(buffer, "%s/node%d/nodemsg.txt", cond.bbs_path, mynode); sprintf(buffer, "%s/node%d/nodemsg.txt", conf.bbs_path, mynode);
if (stat(buffer, &s) == 0) { if (stat(buffer, &s) == 0) {
unlink(buffer); unlink(buffer);