From 1966f91de1a2b95fbd0a713877c92a9ad9e467ed Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 28 Mar 2003 14:30:40 +0000 Subject: show man path in DEBUG mode git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/announce.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c index a1a5797b..e9068638 100644 --- a/pttbbs/mbbsd/announce.c +++ b/pttbbs/mbbsd/announce.c @@ -1,4 +1,4 @@ -/* $Id: announce.c,v 1.18 2003/01/16 11:58:04 kcwu Exp $ */ +/* $Id: announce.c,v 1.19 2003/03/28 14:30:40 in2 Exp $ */ #include "bbs.h" static void @@ -1443,6 +1443,9 @@ a_menu(char *maintitle, char *path, int lastlevel) fileheader_t *fhdr = &me.header[me.now - me.page]; if (!isvisible_man(&me)) break; +#ifdef DEBUG + vmsg("%s/%s", &path[11], fhdr->filename);; +#endif snprintf(fname, sizeof(fname), "%s/%s", path, fhdr->filename); if (*fhdr->filename == 'H' && fhdr->filename[1] == '.') { item_t item; -- cgit v1.2.3