support longer attachment names

This commit is contained in:
SJ
2014-02-11 15:34:12 +01:00
parent d8720cdda0
commit 319c9e9732
5 changed files with 19 additions and 9 deletions

View File

@ -164,6 +164,9 @@ int test_dates(){
snprintf(datestr, sizeof(datestr)-2, "Date: 03 Jun 06 05:59:00 +0100");
ts = parse_date_header(datestr, &cfg); printf("%s => %ld\n", datestr, ts);
snprintf(datestr, sizeof(datestr)-2, "Date: 03-Feb-2014 18:00:00");
ts = parse_date_header(datestr, &cfg); printf("%s => %ld\n", datestr, ts);
return count;
}