diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-09 11:16:42 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-09 11:16:42 +0100 |
commit | 48bf70c3c212e96d0a3a9a34a460c0bd0aed2d33 (patch) | |
tree | 3d72cb74a4e85088bddfcebe3142494f0d990a84 /src/rspamd_proxy.c | |
parent | 8b35a3e93355e972cf079901c882ad6cf196ff18 (diff) | |
download | rspamd-48bf70c3c212e96d0a3a9a34a460c0bd0aed2d33.tar.gz rspamd-48bf70c3c212e96d0a3a9a34a460c0bd0aed2d33.zip |
[Fix] Initialize parser scripts properly
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 5c542105e..d9231ec3d 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -279,6 +279,8 @@ rspamd_proxy_parse_upstream (rspamd_mempool_t *pool, } up = g_slice_alloc0 (sizeof (*up)); + up->parser_from_ref = -1; + up->parser_to_ref = -1; up->name = g_strdup (ucl_object_tostring (elt)); elt = ucl_object_lookup (obj, "key"); |