From: Vsevolod Stakhov Date: Thu, 15 Sep 2016 11:09:40 +0000 (+0100) Subject: [Minor] Fix compilation X-Git-Tag: 1.4.0~423 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9683e738006990c778a62a823b33f17f01bce77;p=thirdparty%2Frspamd.git [Minor] Fix compilation --- diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c index 1bc9272708..c072682794 100644 --- a/src/libstat/stat_process.c +++ b/src/libstat/stat_process.c @@ -112,7 +112,7 @@ rspamd_stat_tokenize_parts_metadata (struct rspamd_stat_ctx *st_ctx, } else if (part->filename) { elt.begin = (gchar *)part->filename; - elt.len = strlen (elt->begin); + elt.len = strlen (elt.begin); g_array_append_val (ar, elt); } }