]> source.dussan.org Git - rspamd.git/commitdiff
Fix a couple of issues.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 7 Oct 2015 13:25:53 +0000 (14:25 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 7 Oct 2015 13:25:53 +0000 (14:25 +0100)
src/libutil/fstring.c
src/libutil/str_util.h
src/libutil/util.h

index 32fabcea42672c9b4eba249caaca3bf004cd612c..e6ce5a052b8176135b0c16233af2305bae93e288 100644 (file)
@@ -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;
+}
index 2f822d97c29b2760e85bb6e91d52510b59e64433..75938668bfe168b25028211e2d6f66c7009f4091 100644 (file)
@@ -27,6 +27,7 @@
 #define SRC_LIBUTIL_STR_UTIL_H_
 
 #include "config.h"
+#include "ucl.h"
 
 /**
  * Compare two memory regions of size `l` using case insensitive matching
index 7efb728b166b6664f4d03eceed3af05917ae5d97..8284557d95fedea2c7ca459d088de6be93fd62de 100644 (file)
@@ -5,7 +5,6 @@
 #include "mem_pool.h"
 #include "printf.h"
 #include "fstring.h"
-#include "ucl.h"
 #include "addr.h"
 #include "str_util.h"