diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-07 16:45:51 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-07 16:45:51 +0800 |
commit | 32bbed747ff7729d46b04d081bcf5ed3ae831c70 (patch) | |
tree | deffcdc722ff623493ded5498fb121afbeb46a3f /innbbsd/receive_article.c | |
parent | d62dc36383d4611a2e9b75ce6f9217dcc8a6edf6 (diff) | |
download | pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar.gz pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar.bz2 pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar.lz pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar.xz pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.tar.zst pttbbs-32bbed747ff7729d46b04d081bcf5ed3ae831c70.zip |
rfc2047 (but just decode @@)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/receive_article.c')
-rw-r--r-- | innbbsd/receive_article.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c index 0c2827da..6b1e59c7 100644 --- a/innbbsd/receive_article.c +++ b/innbbsd/receive_article.c @@ -545,6 +545,7 @@ receive_control() *firstpath = '\0'; if (isdir(boardhome)) { + strcpy(SUBJECT, str_decode_M3(SUBJECT)); fname = (char *) post_article(boardhome, FROM, "control", bbspost_write_control, NULL, firstpath); if (fname != NULL) { @@ -678,8 +679,10 @@ cancel_article_front(msgid) if (body2 != NULL) *body = '\n'; } - if (*subject) - SUBJECT = subject; + if (*subject){ + strcpy(subject, str_decode_M3(subject)); + SUBJECT = subject; + } fname = (char *) post_article(boardhome, FROM, "deleted", bbspost_write_cancel, filename, firstpath); if (fname != NULL) { |