With the post function the right time is now used

This commit is contained in:
Michiel Broek 2006-02-21 20:39:52 +00:00
parent 89c7bfe8db
commit d60df60eb7
3 changed files with 5 additions and 7 deletions

View File

@ -28,6 +28,9 @@ v0.83.13 13-Feb-2006
have a chance to start the transfer. have a chance to start the transfer.
The zmodem transmitter now uses buffered output. The zmodem transmitter now uses buffered output.
mbmsg:
With the post function the right time is now used.
mbcico: mbcico:
Added real error message for failed outgoing IP connections. Added real error message for failed outgoing IP connections.

4
TODO
View File

@ -97,10 +97,6 @@ mbfido:
mbcico: mbcico:
L: Implement binkp option ND and NDA. L: Implement binkp option ND and NDA.
mbmsg:
N: The UTC time in the message isn't properly converted to
localtime when the message is processed.
mbnntp: mbnntp:
N: fetched mail doesn't get the status Rcvd if it was for the user. N: fetched mail doesn't get the status Rcvd if it was for the user.

View File

@ -4,7 +4,7 @@
* Purpose ...............: Post a message from a file. * Purpose ...............: Post a message from a file.
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2005 * Copyright (C) 1997-2006
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -182,8 +182,7 @@ int Post(char *To, int Area, char *Subj, char *File, char *Flavor)
snprintf(Msg.Subject, 101, "%s", Subj); snprintf(Msg.Subject, 101, "%s", Subj);
snprintf(Msg.FromAddress, 101, "%s", aka2str(msgs.Aka)); snprintf(Msg.FromAddress, 101, "%s", aka2str(msgs.Aka));
Msg.Written = time(NULL); Msg.Written = Msg.Arrived = time(NULL) - (gmt_offset((time_t)0) * 60);
Msg.Arrived = time(NULL);
Msg.Local = TRUE; Msg.Local = TRUE;
if (strchr(Flavor, 'c')) if (strchr(Flavor, 'c'))