diff --git a/src/or/transports.c b/src/or/transports.c index 0082b6a9e4..5f650d107a 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -999,7 +999,8 @@ create_managed_proxy_environment(const managed_proxy_t *mp) if (mp->is_server) { { - char *orport_tmp = get_first_listener_addrport_string(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); } diff --git a/src/test/test_util.c b/src/test/test_util.c index 365b5ac772..b5b40bba91 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -1778,7 +1778,7 @@ test_util_strtok(void) tor_snprintf(buf, sizeof(buf), "%sGraved on the dark in gestures of descent%s", pad1, pad1); tor_snprintf(buf2, sizeof(buf2), - "%sthey.seemed;;their!.own;most.perfect;monument%s",pad2,pad2); + "%sthey.seemed;;their!.own;most.perfect;monument%s",pad2,pad2); /* -- "Year's End", Richard Wilbur */ test_streq("Graved", tor_strtok_r_impl(buf, " ", &cp1));