summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-07 03:52:57 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-09-07 03:52:57 +0800
commitfc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b (patch)
treef3f43d69f0b65589a931b98a634e3b27d2c5d136 /mbbsd/edit.c
parentbc3952ec2fcbddd3c4820f21c8490ccd8c728a1d (diff)
downloadpttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.gz
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.bz2
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.lz
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.xz
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.tar.zst
pttbbs-fc05c7ec6b8d7bbd2fbad6426c2e5d23994aea0b.zip
clean up
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 202157ae..10f33d33 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1,4 +1,4 @@
-/* $Id: edit.c,v 1.39 2003/07/17 06:11:14 victor Exp $ */
+/* $Id$ */
/* edit.c, 用來提供 bbs上的文字編輯器, 即 ve.
* 現在這一個是惡搞過的版本, 比較不穩定, 用比較多的 cpu, 但是可以省下許多
* 的記憶體 (以 Ptt為例, 在九千人上站的時候, 約可省下 50MB 的記憶體)
@@ -806,11 +806,7 @@ write_header(FILE * fp)
if (curredit & EDIT_MAIL || curredit & EDIT_LIST) {
fprintf(fp, "%s %s (%s)\n", str_author1, cuser.userid,
-#if defined(REALINFO) && defined(MAIL_REALNAMES)
- cuser.realname
-#else
cuser.username
-#endif
);
} else {
char *ptr;
@@ -869,20 +865,12 @@ write_header(FILE * fp)
local_article ? str_post2 : str_post1, currboard);
} else {
fprintf(fp, "%s %s (%s) %s %s\n", str_author1, cuser.userid,
-#if defined(REALINFO) && defined(POSTS_REALNAMES)
- cuser.realname,
-#else
cuser.username,
-#endif
local_article ? str_post2 : str_post1, currboard);
}
#else /* HAVE_ANONYMOUS */
fprintf(fp, "%s %s (%s) %s %s\n", str_author1, cuser.userid,
-#if defined(REALINFO) && defined(POSTS_REALNAMES)
- cuser.realname,
-#else
cuser.username,
-#endif
local_article ? str_post2 : str_post1, currboard);
#endif /* HAVE_ANONYMOUS */