Fix a couple of wide lines

This commit is contained in:
Nick Mathewson 2012-05-11 13:01:07 -04:00
parent e0655708a2
commit 4bac223311
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}

View File

@ -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));