summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-11 16:43:51 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-11 16:43:51 -0500
commitd5400d50e7ff0fe251c095ea7f29a82cd1045031 (patch)
tree5556a9e742ccc9452f055634d4c801f82329096d /src/or/transports.c
parent252db6ad26900235f8904fa6b8d510551b9176cf (diff)
parentacc462c965acb90c2631797e10bb630eb2789e4e (diff)
downloadtor-d5400d50e7ff0fe251c095ea7f29a82cd1045031.tar.gz
tor-d5400d50e7ff0fe251c095ea7f29a82cd1045031.zip
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index 04b24b0f81..1e6307b7d0 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -1094,8 +1094,6 @@ parse_smethod_line(const char *line, managed_proxy_t *mp)
transport = transport_new(&tor_addr, port, method_name,
PROXY_NONE, args_string);
- if (!transport)
- goto err;
smartlist_add(mp->transports, transport);
@@ -1186,8 +1184,6 @@ parse_cmethod_line(const char *line, managed_proxy_t *mp)
}
transport = transport_new(&tor_addr, port, method_name, socks_ver, NULL);
- if (!transport)
- goto err;
smartlist_add(mp->transports, transport);