From 32bbed747ff7729d46b04d081bcf5ed3ae831c70 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 7 May 2003 08:45:51 +0000 Subject: rfc2047 (but just decode @@) git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- innbbsd/receive_article.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'innbbsd/receive_article.c') 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) { -- cgit v1.2.3