diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 00:44:27 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 00:44:27 +0800 |
commit | ecb8b2d326822691b2633451732f8d7685353383 (patch) | |
tree | f0d80e09ec906c58af06bcb275bd7634e2233d7e /mbbsd/vote.c | |
parent | a8207490ca0ba62ba301edd6f034837ef01bc7cf (diff) | |
download | pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar.gz pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar.bz2 pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar.lz pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar.xz pttbbs-ecb8b2d326822691b2633451732f8d7685353383.tar.zst pttbbs-ecb8b2d326822691b2633451732f8d7685353383.zip |
cp log format update
cp with invis board mosaic format update
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2941 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/vote.c')
-rw-r--r-- | mbbsd/vote.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index f87ba9ac..aeeae5fc 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -141,11 +141,17 @@ b_suckinfile_invis(FILE * fp, char *fname, const char *boardname) /* first time, try if boardname revealed. */ char *post = strstr(inbuf, str_post1); if(!post) post = strstr(inbuf, str_post2); - if(post) post = strstr(post, boardname); + if(post) + post = strstr(post, boardname); if(post) { /* found releaved stuff. */ + /* + // mosaic method 1 while(*boardname++) *post++ = '?'; + */ + // mosaic method 2 + strcpy(post, "(¬YÁô§Î¬ÝªO)\n"); } fputs(inbuf, fp); while (fgets(inbuf, sizeof(inbuf), sfp)) |