]> source.dussan.org Git - rspamd.git/commitdiff
[Refactor] Correct misspelled `rspamd_smtp_recieved_parse`
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 28 Jun 2017 07:14:54 +0000 (10:14 +0300)
committerAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 28 Jun 2017 07:14:54 +0000 (10:14 +0300)
src/libmime/mime_headers.c
src/libmime/smtp_parsers.h
src/ragel/smtp_received_parser.rl
utils/received_parser_bench.c

index 593f13b1102ed5a8d81655b996a28b722fc8a919..e187c5d147bdb04af4037a3a4fe2766930ea7981 100644 (file)
@@ -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 ||
index 439e6c7c8ac110e4a03b30da13f2eb857d1410f5..fdd390f221a03c1af97bd6c8440bfdcb0ad7003c 100644 (file)
@@ -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);
index 87cb73e88974ca21d69e5ad28fe39a57293f2dec..4996658fcdd48ec101c528368c252cbaacd06a3f 100644 (file)
 %% 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,
index 41a63742241c786653a73b8512ca7f976b6ac2e5..2ad256452e67e5d7f14d9e115ab2283d3aa63134 100644 (file)
@@ -60,7 +60,7 @@ rspamd_process_file (const gchar *fname)
                }
 
                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;