看板 PttCurrent 關於我們 聯絡資訊
※ 引述《piaip (我在測試)》之銘言: : 這我之前有 mark 過 : mail.c#613L : /* TODO is this really going to work!?!?!? */ : mymail.filemode |= FILE_MULTI; /* multi-send flag */ : 因為FILE_MULTI 超過 byte width, 所以這行無作用 : 不過因為那時懷疑是不是故意的,所以沒改掉 原來如此... orz 在include/pttstruct.h找到了相關的定義: #define FILE_LOCAL 0x1 /* local saved */ #define FILE_READ 0x1 /* already read : mail only */ #define FILE_MARKED 0x2 /* opus: 0x8 */ #define FILE_DIGEST 0x4 /* digest */ #define FILE_BOTTOM 0x8 /* push_bottom */ #define FILE_SOLVED 0x10 /* problem solved, sysop/BM only */ #define FILE_HIDE 0x20 /* hide, in announce */ #define FILE_BID 0x20 /* bid, in non-announce */ #define FILE_BM 0x40 /* BM only, in announce */ #define FILE_VOTE 0x40 /* for vote, in non-announce */ #define FILE_ANONYMOUS 0x80 /* anonymous file */ /* TODO filemode is unsigned, IS THIS MULTI CORRECT? DANGEROUS!!! */ #define FILE_MULTI 0x100 /* multi send for mail */ 看來這樣的確是不行.那麼該把FILE_MULTI改成哪個數值呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.25.104.20