Updates for mbnntp kludges
This commit is contained in:
parent
b7c72a7598
commit
76791b2127
@ -43,6 +43,8 @@ v0.71.1 28-Nov-2004
|
||||
Code cleanup.
|
||||
When a message is posted without RFC Messageid, a fidonet MSGID
|
||||
is fresh created.
|
||||
Changed X-JAM kludges to X-FTN kludges to make it compatible
|
||||
with the rest of the gates.
|
||||
|
||||
examples:
|
||||
Removed bbs list items from the English menus and txtfiles and
|
||||
|
@ -197,16 +197,16 @@ void command_abhs(char *buf)
|
||||
send_nntp("Message-ID: %s", make_msgid(Msg.Msgid));
|
||||
if (strlen(Msg.Replyid))
|
||||
send_nntp("References: %s", make_msgid(Msg.Replyid));
|
||||
send_nntp("X-JAM-From: %s <%s>", Msg.From, Msg.FromAddress);
|
||||
send_nntp("X-FTN-From: %s <%s>", Msg.From, Msg.FromAddress);
|
||||
if (strlen(Msg.To))
|
||||
send_nntp("X-JAM-To: %s", Msg.To);
|
||||
send_nntp("X-FTN-To: %s", Msg.To);
|
||||
if ((p = (char *)MsgText_First()) != NULL) {
|
||||
do {
|
||||
if ((p[0] == '\001') || (!strncmp(p, "SEEN-BY:", 8)) || (!strncmp(p, "AREA:", 5))) {
|
||||
if (p[0] == '\001') {
|
||||
send_nntp("X-JAM-%s", p+1);
|
||||
send_nntp("X-FTN-%s", p+1);
|
||||
} else {
|
||||
send_nntp("X-JAM-%s", p);
|
||||
send_nntp("X-FTN-%s", p);
|
||||
}
|
||||
}
|
||||
} while ((p = (char *)MsgText_Next()) != NULL);
|
||||
|
Reference in New Issue
Block a user