Parent Directory | Revision Log | Patch
revision 1.45 by lefcha, Fri Mar 7 14:04:38 2003 UTC | revision 1.46 by lefcha, Fri Mar 7 14:28:56 2003 UTC | |
---|---|---|
# | Line 916 message_date(char *mesg, char *destmbox) | Line 916 message_date(char *mesg, char *destmbox) |
916 | ||
917 | while (fetch_response(&sockpri, t, 0, dbuf) == RESPONSE_NONE); | while (fetch_response(&sockpri, t, 0, dbuf) == RESPONSE_NONE); |
918 | ||
919 | if (strptime(dbuf, "Date: %a, %d %b %Y %H:%M:%S %z", &tl) && | if (strptime(dbuf, "Date: %a, %d %b %Y %H:%M:%S", &tl) && |
920 | strftime(s, MBOX_NAME_LEN - 1, destmbox, &tl)) | strftime(s, MBOX_NAME_LEN - 1, destmbox, &tl)) |
921 | xstrncpy(destmbox, s, MBOX_NAME_LEN - 1); | xstrncpy(destmbox, s, MBOX_NAME_LEN - 1); |
922 | } | } |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |