summaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-24 23:50:42 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-24 23:50:42 +0000
commit96710e16c6122ab216d2348a4d6f60ed908ba8e7 (patch)
tree4c133d361aa124c9cc3e26051ef3c015d6005518 /src/libutil/upstream.c
parenta7e9c6c403bde957b8f07895bb2f7f2b13135fb0 (diff)
downloadrspamd-96710e16c6122ab216d2348a4d6f60ed908ba8e7.tar.gz
rspamd-96710e16c6122ab216d2348a4d6f60ed908ba8e7.zip
Fix names for parsed addresses
Diffstat (limited to 'src/libutil/upstream.c')
-rw-r--r--src/libutil/upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c
index 9044d0633..1b863d536 100644
--- a/src/libutil/upstream.c
+++ b/src/libutil/upstream.c
@@ -527,7 +527,7 @@ rspamd_upstreams_add_upstream (struct upstream_list *ups,
const gchar *str, guint16 def_port, void *data)
{
struct upstream *up;
- GPtrArray *addrs;
+ GPtrArray *addrs = NULL;
guint i;
rspamd_inet_addr_t *addr;