aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-29 20:47:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-08-29 20:47:08 +0100
commit871443d92d23e90041784cd4c4bd15238c606f9b (patch)
tree653766e2b6bac1ac443df40d7cb60c3f1b9b5b61 /src/libserver/protocol.c
parentb302f20e7c9ee85a7320385861ed1a22269cae82 (diff)
downloadrspamd-871443d92d23e90041784cd4c4bd15238c606f9b.tar.gz
rspamd-871443d92d23e90041784cd4c4bd15238c606f9b.zip
[Minor] Remove unused function
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 93ea62816..b012aee08 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -793,27 +793,6 @@ make_rewritten_subject (struct rspamd_metric *metric, struct rspamd_task *task)
}
static ucl_object_t *
-rspamd_str_hash_ucl (GHashTable *ht)
-{
- GHashTableIter it;
- gpointer k, v;
- ucl_object_t *top = NULL, *obj;
-
- top = ucl_object_typed_new (UCL_ARRAY);
-
- if (ht) {
- g_hash_table_iter_init (&it, ht);
-
- while (g_hash_table_iter_next (&it, &k, &v)) {
- obj = ucl_object_fromstring ((const char *)v);
- ucl_array_append (top, obj);
- }
- }
-
- return top;
-}
-
-static ucl_object_t *
rspamd_metric_symbol_ucl (struct rspamd_task *task, struct rspamd_metric *m,
struct rspamd_symbol_result *sym)
{