aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 14:29:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-08 14:29:56 +0100
commit6b4535ef8ad8d9839f0ccfc8bdc579f001094e99 (patch)
tree9c9a83dfa324791ece3b11de5472d06d74906376 /src/libutil/str_util.c
parentc456b18a963242b80fbd30b3ad261d2c28502dab (diff)
downloadrspamd-6b4535ef8ad8d9839f0ccfc8bdc579f001094e99.tar.gz
rspamd-6b4535ef8ad8d9839f0ccfc8bdc579f001094e99.zip
Use const ucl_object_t for dump.
Diffstat (limited to 'src/libutil/str_util.c')
-rw-r--r--src/libutil/str_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c
index 9031305b0..8254aa2ad 100644
--- a/src/libutil/str_util.c
+++ b/src/libutil/str_util.c
@@ -1289,7 +1289,7 @@ rspamd_gstring_append_double (double val, void *ud)
}
void
-rspamd_ucl_emit_gstring (ucl_object_t *obj,
+rspamd_ucl_emit_gstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
GString *target)
{
@@ -1357,7 +1357,7 @@ rspamd_fstring_emit_append_double (double val, void *ud)
}
void
-rspamd_ucl_emit_fstring (ucl_object_t *obj,
+rspamd_ucl_emit_fstring (const ucl_object_t *obj,
enum ucl_emitter emit_type,
rspamd_fstring_t **buf)
{