From 9fbf004680d153476bbbfebc0061c8e0da24fe2d Mon Sep 17 00:00:00 2001 From: Andrew Leary Date: Fri, 7 Aug 2015 18:24:21 -0400 Subject: [PATCH] Removed incorrect Precise field from netmail Via lines. --- ChangeLog | 8 ++++++++ mbfido/postnetmail.c | 2 +- mbfido/scan.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b6bb5e6..b1bf2242 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +v1.0.6.1 07-Aug-2015 - Andrew Leary + + 1. Removed the Precise field from Via lines in netmail, as + it was not actually accurate anyway. Forwarded netmails had + this field set to .00, and locally generated netmails had this + field set to .01. This field is optional in FTS-4009, but + if used is supposed to indicate fractions of a second. + v1.0.6 03-Aug-2015 - Andrew Leary 1. Added support for specifying a literal IPv6 address diff --git a/mbfido/postnetmail.c b/mbfido/postnetmail.c index ff6285cd..26c9e057 100644 --- a/mbfido/postnetmail.c +++ b/mbfido/postnetmail.c @@ -438,7 +438,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t now = time(NULL); tm = gmtime(&now); ta = bestaka_s(t); - fprintf(net, "\001Via %s @%d%02d%02d.%02d%02d%02d.00.UTC mbfido %s\r", + fprintf(net, "\001Via %s @%d%02d%02d.%02d%02d%02d.UTC mbfido %s\r", ascfnode(ta, 0x1f), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION); tidy_faddr(ta); diff --git a/mbfido/scan.c b/mbfido/scan.c index 8eddf0ed..8d4351ff 100644 --- a/mbfido/scan.c +++ b/mbfido/scan.c @@ -1048,7 +1048,7 @@ void ExportNet(unsigned int MsgNum, int UUCPgate) now = time(NULL); tm = gmtime(&now); - fprintf(qp, "\001Via %s @%d%02d%02d.%02d%02d%02d.01.UTC MBSE BBS %s\r", + fprintf(qp, "\001Via %s @%d%02d%02d.%02d%02d%02d.UTC MBSE BBS %s\r", aka2str(msgs.Aka), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);