summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-09-18 17:47:52 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-09-18 17:51:44 +0100
commit848214f788cb561935b8200d6e795df2de1cb8fa (patch)
tree7eb3d6239cf72cf9e561538affc7ae752549b80e /src
parent89dd53dfbf0166d98032ad1f72428ceda6baf52a (diff)
SOCKS: fix unitialized-pointer
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/smtp_socks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/transports/smtp_socks.c b/src/src/transports/smtp_socks.c
index 555843068..92d13659d 100644
--- a/src/src/transports/smtp_socks.c
+++ b/src/src/transports/smtp_socks.c
@@ -285,7 +285,7 @@ for(;;)
sob = &proxies[idx];
/* bodge up a host struct for the proxy */
- proxy.address = sob->proxy_host;
+ proxy.address = proxy.name = sob->proxy_host;
proxy_af = Ustrchr(sob->proxy_host, ':') ? AF_INET6 : AF_INET;
if ((fd = smtp_sock_connect(&proxy, proxy_af, sob->port,