]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] `type` -> `backend` for fuzzy backend type
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Sep 2016 14:33:16 +0000 (15:33 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Sep 2016 14:33:16 +0000 (15:33 +0100)
src/libserver/fuzzy_backend.c

index 98fd5a5dc645558e1feeef25866996e8ac3e1eae..36f448989d59e1dc3fb1e1bf967351baa1abf20a 100644 (file)
@@ -257,7 +257,7 @@ rspamd_fuzzy_backend_create (struct event_base *ev_base,
        gdouble expire = DEFAULT_EXPIRE;
 
        if (config != NULL) {
-               elt = ucl_object_lookup (config, "type");
+               elt = ucl_object_lookup (config, "backend");
 
                if (elt != NULL && ucl_object_type (elt) == UCL_STRING) {
                        if (strcmp (ucl_object_tostring (elt), "sqlite") == 0) {