summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-14 01:25:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-14 01:25:49 +0800
commit716c986c2b967e0268eb0397b7c1805926b991c0 (patch)
tree681f53912ae5a50b09a3a7745df3c69341f6ba5a
parent5e90c9735919cc24f936ee031b36f4aa63b45ae5 (diff)
downloadpttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar.gz
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar.bz2
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar.lz
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar.xz
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.tar.zst
pttbbs-716c986c2b967e0268eb0397b7c1805926b991c0.zip
fix r3146: innbbsd used FILE_MULTI which has same value with FILE_BOTTOM.
It seems like no reason to set MULTI in received remote articles. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3166 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--UPDATING1
-rw-r--r--include/pttstruct.h6
-rw-r--r--innbbsd/receive_article.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/UPDATING b/UPDATING
index 89ab7be0..74c445e1 100644
--- a/UPDATING
+++ b/UPDATING
@@ -1,5 +1,6 @@
-----------------------------------------------------------------------------
PTT BBS [Current] Updating Log (in Big5 encoding)
+$Id$
-----------------------------------------------------------------------------
這裡是 PTT Current 的重大更新記錄,主要是「檔案格式」或位置的重要改變、
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 6a5a58d7..7a699bc5 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -267,9 +267,9 @@ typedef struct fileheader_t {
#define FILE_LOCAL 0x1 /* local saved, non-mail */
#define FILE_READ 0x1 /* already read, mail only */
#define FILE_MARKED 0x2 /* opus: 0x8 <- what? */
-#define FILE_DIGEST 0x4 /* digest */
-#define FILE_BOTTOM 0x8 /* push_bottom, non-mail */
-#define FILE_MULTI 0x8 /* multi send, mail only */
+#define FILE_DIGEST 0x4 /* digest, non-mail */
+#define FILE_BOTTOM 0x8 /* push_bottom, non-mail */
+#define FILE_MULTI 0x8 /* multi send, mail only */
#define FILE_SOLVED 0x10 /* problem solved, sysop/BM only */
#define FILE_HIDE 0x20 /* hide, in announce */
#define FILE_BID 0x20 /* bid, in non-announce */
diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c
index 33831d18..87726ab1 100644
--- a/innbbsd/receive_article.c
+++ b/innbbsd/receive_article.c
@@ -785,7 +785,8 @@ post_article(homepath, userid, board, writebody, pathname, firstpath)
}
strcpy(header.owner, userid);
strncpy(header.title, subject, TTLEN);
- header.filemode |= FILE_MULTI;
+ /* no need to apply this... FILE_MULTI is used for mail group reply only now. */
+ // header.filemode |= FILE_MULTI;
{
struct tm *ptime;
ptime = localtime(&datevalue);