aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/fstring.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-07 14:25:53 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-07 14:25:53 +0100
commitfeec76c52dbd94a4802fec4e85acc40b8e8f21c5 (patch)
tree2eb486ee3e124006186939a2e7d1a09b6fa724dd /src/libutil/fstring.c
parent4af2ef67e91974144de793be97b8866d2a63c658 (diff)
downloadrspamd-feec76c52dbd94a4802fec4e85acc40b8e8f21c5.tar.gz
rspamd-feec76c52dbd94a4802fec4e85acc40b8e8f21c5.zip
Fix a couple of issues.
Diffstat (limited to 'src/libutil/fstring.c')
-rw-r--r--src/libutil/fstring.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/fstring.c b/src/libutil/fstring.c
index 32fabcea4..e6ce5a052 100644
--- a/src/libutil/fstring.c
+++ b/src/libutil/fstring.c
@@ -357,4 +357,6 @@ rspamd_ftok_map (const rspamd_fstring_t *s)
tok = g_slice_alloc (sizeof (*tok));
tok->begin = s->str;
tok->len = s->len;
-} \ No newline at end of file
+
+ return tok;
+}