summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-27 18:04:34 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-27 18:04:34 +0800
commit8488f4fcb1913166a550bb9569d7c76181e98e15 (patch)
treec8bafef9eaf05b62bc890149624b6f73b6bfffc7
parent581d9e5c072cffccccff3095865e11bef8203340 (diff)
downloadpttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar.gz
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar.bz2
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar.lz
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar.xz
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.tar.zst
pttbbs-8488f4fcb1913166a550bb9569d7c76181e98e15.zip
add XXX comment
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/announce.c3
-rw-r--r--mbbsd/topsong.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 8413897b..723a55fb 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -1,4 +1,4 @@
-/* $Id: announce.c,v 1.16 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: announce.c,v 1.17 2002/07/27 10:04:34 kcwu Exp $ */
#include "bbs.h"
static void
@@ -1471,6 +1471,7 @@ a_menu(char *maintitle, char *path, int lastlevel)
fname, sizeof(trans_buffer));
Fexit = 1;
if (currstat == OSONG) {
+ /* XXX: 只選歌未點歌可灌排行榜 */
log_file(FN_USSONG, fhdr->title);
}
free(me.header);
diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c
index a745b4a5..015f7de5 100644
--- a/mbbsd/topsong.c
+++ b/mbbsd/topsong.c
@@ -1,4 +1,4 @@
-/* $Id: topsong.c,v 1.5 2002/07/21 09:26:02 in2 Exp $ */
+/* $Id: topsong.c,v 1.6 2002/07/27 10:04:34 kcwu Exp $ */
#include "bbs.h"
#define MAX_SONGS 300
@@ -51,6 +51,7 @@ sortsong()
return;
}
totalcount = 0;
+ /* XXX: 除了前 MAX_SONGS 首, 剩下不會排序 */
while (fgets(buf, 200, fp)) {
strtok(buf, "\n\r");
strip_blank(cbuf, buf);