summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index 1f2149381e..897645021a 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -992,7 +992,7 @@ create_managed_proxy_environment(const managed_proxy_t *mp)
if (mp->is_server) {
{
- char *orport_tmp = get_first_listener_addrport_for_pt(CONN_TYPE_OR_LISTENER);
+ char *orport_tmp = get_first_listener_addrport_string(CONN_TYPE_OR_LISTENER);
smartlist_add_asprintf(envs, "TOR_PT_ORPORT=%s", orport_tmp);
tor_free(orport_tmp);
}