aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-11 13:01:07 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-11 13:01:07 -0400
commit4bac2233116f0d94fd6ad1e77acb0baceeaf2336 (patch)
treefbb1e224b7aa282e203b95196ee67b1e91a90c90
parente0655708a20069a5f42476a25d62e9d3f8138d8c (diff)
downloadtor-4bac2233116f0d94fd6ad1e77acb0baceeaf2336.tar.gz
tor-4bac2233116f0d94fd6ad1e77acb0baceeaf2336.zip
Fix a couple of wide lines
-rw-r--r--src/or/transports.c3
-rw-r--r--src/test/test_util.c2
2 files changed, 3 insertions, 2 deletions
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));