aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-04 14:46:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-07-04 14:46:55 +0100
commitd52a62c089c6e498e936bd53ebd59b1a774b62a8 (patch)
tree8b478a75331ceb6f158cf3f7bc1ae9636e7b811f /src/libstat
parent683164999675314cb35353df413decbcd5489b45 (diff)
downloadrspamd-d52a62c089c6e498e936bd53ebd59b1a774b62a8.tar.gz
rspamd-d52a62c089c6e498e936bd53ebd59b1a774b62a8.zip
[Rework] Rename mime parts structures
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/backends/sqlite3_backend.c2
-rw-r--r--src/libstat/stat_process.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c
index 30c9c74a2..2e49f8076 100644
--- a/src/libstat/backends/sqlite3_backend.c
+++ b/src/libstat/backends/sqlite3_backend.c
@@ -356,7 +356,7 @@ rspamd_sqlite3_get_language (struct rspamd_stat_sqlite3_db *db,
gint rc, err_idx;
guint i;
const gchar *language = NULL;
- struct mime_text_part *tp;
+ struct rspamd_mime_text_part *tp;
struct rspamd_task **ptask;
lua_State *L = db->L;
GString *tb;
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 78166906f..081f1825b 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -68,8 +68,8 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx,
struct rspamd_task *task)
{
struct rspamd_image *img;
- struct mime_part *part;
- struct mime_text_part *tp;
+ struct rspamd_mime_part *part;
+ struct rspamd_mime_text_part *tp;
GList *cur;
GArray *ar;
rspamd_ftok_t elt;
@@ -169,7 +169,7 @@ static void
rspamd_stat_process_tokenize (struct rspamd_stat_ctx *st_ctx,
struct rspamd_task *task)
{
- struct mime_text_part *part;
+ struct rspamd_mime_text_part *part;
GArray *words;
gchar *sub;
guint i, reserved_len = 0;