diff options
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/mime_headers.c | 2 | ||||
-rw-r--r-- | src/libmime/smtp_parsers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libmime/mime_headers.c b/src/libmime/mime_headers.c index 593f13b11..e187c5d14 100644 --- a/src/libmime/mime_headers.c +++ b/src/libmime/mime_headers.c @@ -35,7 +35,7 @@ rspamd_mime_header_check_special (struct rspamd_task *task, recv = rspamd_mempool_alloc0 (task->task_pool, sizeof (struct received_header)); recv->hdr = rh; - rspamd_smtp_recieved_parse (task, rh->decoded, + rspamd_smtp_received_parse (task, rh->decoded, strlen (rh->decoded), recv); /* Set flags */ if (recv->type == RSPAMD_RECEIVED_ESMTPA || diff --git a/src/libmime/smtp_parsers.h b/src/libmime/smtp_parsers.h index 439e6c7c8..fdd390f22 100644 --- a/src/libmime/smtp_parsers.h +++ b/src/libmime/smtp_parsers.h @@ -22,7 +22,7 @@ #include "task.h" #include "message.h" -int rspamd_smtp_recieved_parse (struct rspamd_task *task, +int rspamd_smtp_received_parse (struct rspamd_task *task, const char *data, size_t len, struct received_header *rh); int rspamd_smtp_addr_parse (const char *data, size_t len, struct rspamd_email_address *addr); |