commit b6d78af: [Minor] Reset state to work with multiple backends

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Dec 27 18:28:04 UTC 2018


Author: Vsevolod Stakhov
Date: 2018-12-08 09:59:02 +0000
URL: https://github.com/rspamd/rspamd/commit/b6d78afab84d30a8a5d1a014f254355df7710ccb

[Minor] Reset state to work with multiple backends

---
 src/libutil/map_helpers.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libutil/map_helpers.c b/src/libutil/map_helpers.c
index 4c34cba15..cc8002eac 100644
--- a/src/libutil/map_helpers.c
+++ b/src/libutil/map_helpers.c
@@ -426,6 +426,8 @@ rspamd_parse_kv_list (
 			}
 			break;
 		}
+
+		data->state = map_skip_spaces_before_key;
 	}
 
 	return c;


More information about the Commits mailing list