From ea815fcbed085aa0eb0028840290126961decb60 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/pttbbs@742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/announce.c b/mbbsd/announce.c index a1a5797b..e9068638 100644 --- a/mbbsd/announce.c +++ b/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