diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-16 15:47:16 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-02-16 15:47:16 +0800 |
commit | 32653addd2078d39047704ac55f708375b103b5b (patch) | |
tree | 6909027d5827d180ceb29d527442ab1c68c7e7fa /innbbsd/bbslink.c | |
parent | 78e8c9f5ce3e6edaada4550b3a05c91b321ca1df (diff) | |
download | pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar.gz pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar.bz2 pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar.lz pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar.xz pttbbs-32653addd2078d39047704ac55f708375b103b5b.tar.zst pttbbs-32653addd2078d39047704ac55f708375b103b5b.zip |
add posting header:
Mime-Version: 1.0
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit
suggested by viking@ptt
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@661 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/bbslink.c')
-rw-r--r-- | innbbsd/bbslink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c index fa5716ac..bd1cf3fe 100644 --- a/innbbsd/bbslink.c +++ b/innbbsd/bbslink.c @@ -906,6 +906,9 @@ post_article(node, site, sover, textline) fprintf(NNTPwfp, "Date: %s\r\n", sover->date); fprintf(NNTPwfp, "Organization: %s\r\n", MYSITE); fprintf(NNTPwfp, "Message-ID: <%s>\r\n", sover->msgid); + fprintf(NNTPwfp, "Mime-Version: 1.0\r\n"); + fprintf(NNTPwfp, "Content-Type: text/plain; charset=\"big5\"\r\n"); + fprintf(NNTPwfp, "Content-Transfer-Encoding: 8bit\r\n"); fprintf(NNTPwfp, "X-Filename: %s/%s\r\n", sover->board, sover->filename); } if (NNTPHOST && *NNTPHOST && USEIHAVE) |