diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index ce0a2d51..a0391bdd 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -263,8 +263,8 @@ whereami(int ent, fileheader_t * fhdr, char *direct) bh = getbcache(currutmp->brc_id); root = getbcache(1); p[0] = bh; - for (i = 0; i < WHEREAMI_LEVEL && p[i]->parent != root && p[i]->parent; i++) - p[i + 1] = p[i]->parent; + for (i = 0; i < WHEREAMI_LEVEL && p[i]->parent>1; i++) + p[i + 1] = getbcache(p[i]->parent); j = i; prints("§Ú¦bþ?\n%-40.40s %.13s\n", p[j]->title + 7, p[j]->BM); for (j--; j >= 0; j--) @@ -368,7 +368,7 @@ cancelpost(fileheader_t *fh, int by_BM, char *newpath) } if(!strncasecmp(postfile.title, str_reply, 3)) len=len+4; - sprintf(postfile.title,"%-*.*s.%sª©", len, len, fh->title, currboard); + sprintf(postfile.title, "%-*.*s.%sª©", len, len, fh->title, currboard); if ((fout = fopen("innd/cancel.bntp", "a"))) { fprintf(fout, "%s\t%s\t%s\t%s\t%s\n", currboard, fh->filename, |