diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-06 15:36:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-10-06 15:36:23 +0100 |
commit | b6085d45f1a31b4bf19abf91d5926e1ef87d39ca (patch) | |
tree | 87f2c55b9eb6a99e56eb4afeabd3aa49fc1c8b5c /src/libmime/mime_headers.c | |
parent | 83bcd4071050fa82deed1428cc587a1574b9c507 (diff) | |
download | rspamd-b6085d45f1a31b4bf19abf91d5926e1ef87d39ca.tar.gz rspamd-b6085d45f1a31b4bf19abf91d5926e1ef87d39ca.zip |
[Minor] Add erroring to smtp parse date
Diffstat (limited to 'src/libmime/mime_headers.c')
-rw-r--r-- | src/libmime/mime_headers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index 34cafd8cb..bbf1dc31d 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -1655,7 +1655,7 @@ rspamd_smtp_received_parse (struct rspamd_task *task, if (date_pos > 0 && date_pos < len) { rh->timestamp = rspamd_parse_smtp_date (data + date_pos, - len - date_pos); + len - date_pos, NULL); } return 0; |