diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-29 16:48:06 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-29 16:48:06 +0800 |
commit | d44235ac23d605d3ff77e6f40a685ac3276d6e48 (patch) | |
tree | d59c7130285f734546ccf6394d200d7d22c468c4 /mbbsd | |
parent | cc9dc48b35b47a6e118d8982786c2f69459b2f73 (diff) | |
download | pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar.gz pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar.bz2 pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar.lz pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar.xz pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.tar.zst pttbbs-d44235ac23d605d3ff77e6f40a685ac3276d6e48.zip |
recommend while reaging
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@814 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 5a84149f..44c0c2ba 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,6 +1,8 @@ -/* $Id: bbs.c,v 1.88 2003/04/20 03:21:07 in2 Exp $ */ +/* $Id: bbs.c,v 1.89 2003/04/29 08:48:06 victor Exp $ */ #include "bbs.h" +static int recommend(int ent, fileheader_t * fhdr, char *direct); + static void mail_by_link(char *owner, char *title, char *path) { @@ -975,11 +977,15 @@ read_post(int ent, fileheader_t * fhdr, char *direct) case Ctrl('C'): cal(); return FULLUPDATE; - break; case Ctrl('I'): t_idle(); return FULLUPDATE; + + case 'X': + recommend(ent, fhdr, direct); + return FULLUPDATE; + case 'y': case 'r': case 'R': |