diff options
-rw-r--r-- | src/libutil/fstring.c | 4 | ||||
-rw-r--r-- | src/libutil/str_util.h | 1 | ||||
-rw-r--r-- | src/libutil/util.h | 1 |
3 files changed, 4 insertions, 2 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; +} diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h index 2f822d97c..75938668b 100644 --- a/src/libutil/str_util.h +++ b/src/libutil/str_util.h @@ -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 diff --git a/src/libutil/util.h b/src/libutil/util.h index 7efb728b1..8284557d9 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -5,7 +5,6 @@ #include "mem_pool.h" #include "printf.h" #include "fstring.h" -#include "ucl.h" #include "addr.h" #include "str_util.h" |