summaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r--src/libstat/stat_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 1bc927270..c07268279 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);
}
}