summaryrefslogtreecommitdiff
path: root/toxcore/TCP_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/TCP_client.c')
-rw-r--r--toxcore/TCP_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/TCP_client.c b/toxcore/TCP_client.c
index 61a2ff1e..eaa248bf 100644
--- a/toxcore/TCP_client.c
+++ b/toxcore/TCP_client.c
@@ -609,6 +609,7 @@ TCP_Client_Connection *new_TCP_connection(IP_Port ip_port, const uint8_t *public
609 uint8_t family = ip_port.ip.family; 609 uint8_t family = ip_port.ip.family;
610 610
611 TCP_Proxy_Info default_proxyinfo; 611 TCP_Proxy_Info default_proxyinfo;
612
612 if (proxy_info == NULL) { 613 if (proxy_info == NULL) {
613 default_proxyinfo.proxy_type = TCP_PROXY_NONE; 614 default_proxyinfo.proxy_type = TCP_PROXY_NONE;
614 proxy_info = &default_proxyinfo; 615 proxy_info = &default_proxyinfo;