commit 48ebc88: [Minor] Remove redundant check
Vsevolod Stakhov
vsevolod at rspamd.com
Fri Oct 7 22:14:03 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-10-07 20:34:54 +0100
URL: https://github.com/rspamd/rspamd/commit/48ebc882e6d5343796e55b1df128cb085ab9f88a (HEAD -> master)
[Minor] Remove redundant check
---
src/libserver/spf.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/libserver/spf.c b/src/libserver/spf.c
index eb7477129..a422d2819 100644
--- a/src/libserver/spf.c
+++ b/src/libserver/spf.c
@@ -207,12 +207,6 @@ spf_library_config (const ucl_object_t *obj)
}
}
- if ((value = ucl_object_find_key (obj, "disable_ipv6")) != NULL) {
- if (ucl_object_toboolean_safe (value, &bval)) {
- spf_lib_ctx->disable_ipv6 = bval;
- }
- }
-
if (spf_lib_ctx->spf_hash) {
rspamd_lru_hash_destroy (spf_lib_ctx->spf_hash);
spf_lib_ctx->spf_hash = NULL;
More information about the Commits
mailing list