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 ||
#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);
%% write data;
int
-rspamd_smtp_recieved_parse (struct rspamd_task *task, const char *data, size_t len, struct received_header *rh)
+rspamd_smtp_received_parse (struct rspamd_task *task, const char *data, size_t len, struct received_header *rh)
{
struct rspamd_email_address for_addr, *addr;
const char *real_domain_start, *real_domain_end,
}
t1 = rspamd_get_virtual_ticks ();
- rspamd_smtp_recieved_parse (task, buf->str, buf->len, &rh);
+ rspamd_smtp_received_parse (task, buf->str, buf->len, &rh);
t2 = rspamd_get_virtual_ticks ();
total_time += t2 - t1;