parse822_date_time now takes a timezone argument. We don't actually use
the arguments, though.
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -98,9 +98,8 @@ main (int argc, char **argv) | ... | @@ -98,9 +98,8 @@ main (int argc, char **argv) |
98 | else | 98 | else |
99 | { | 99 | { |
100 | const char *s = date; | 100 | const char *s = date; |
101 | struct tm tm; | ||
102 | 101 | ||
103 | if (parse822_date_time (&s, s + strlen (s), &tm)) | 102 | if (parse822_date_time (&s, s + strlen (s), NULL, NULL)) |
104 | { | 103 | { |
105 | printf ("%s, msg %d: BAD DATE <%s> (mua? %s)\n", | 104 | printf ("%s, msg %d: BAD DATE <%s> (mua? %s)\n", |
106 | mboxname, i, date, UserAgent (hdr)); | 105 | mboxname, i, date, UserAgent (hdr)); | ... | ... |
-
Please register or sign in to post a comment