Updates for mbnntp kludges

This commit is contained in:
Michiel Broek 2004-12-23 16:31:25 +00:00
parent b7c72a7598
commit 76791b2127
2 changed files with 6 additions and 4 deletions

View File

@ -43,6 +43,8 @@ v0.71.1 28-Nov-2004
Code cleanup. Code cleanup.
When a message is posted without RFC Messageid, a fidonet MSGID When a message is posted without RFC Messageid, a fidonet MSGID
is fresh created. is fresh created.
Changed X-JAM kludges to X-FTN kludges to make it compatible
with the rest of the gates.
examples: examples:
Removed bbs list items from the English menus and txtfiles and Removed bbs list items from the English menus and txtfiles and

View File

@ -197,16 +197,16 @@ void command_abhs(char *buf)
send_nntp("Message-ID: %s", make_msgid(Msg.Msgid)); send_nntp("Message-ID: %s", make_msgid(Msg.Msgid));
if (strlen(Msg.Replyid)) if (strlen(Msg.Replyid))
send_nntp("References: %s", make_msgid(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)) 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) { if ((p = (char *)MsgText_First()) != NULL) {
do { do {
if ((p[0] == '\001') || (!strncmp(p, "SEEN-BY:", 8)) || (!strncmp(p, "AREA:", 5))) { if ((p[0] == '\001') || (!strncmp(p, "SEEN-BY:", 8)) || (!strncmp(p, "AREA:", 5))) {
if (p[0] == '\001') { if (p[0] == '\001') {
send_nntp("X-JAM-%s", p+1); send_nntp("X-FTN-%s", p+1);
} else { } else {
send_nntp("X-JAM-%s", p); send_nntp("X-FTN-%s", p);
} }
} }
} while ((p = (char *)MsgText_Next()) != NULL); } while ((p = (char *)MsgText_Next()) != NULL);