aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-31 19:03:49 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-31 19:03:49 +0000
commit534c55f531ef021ec4505bfd742cd0f1289d1f34 (patch)
tree94fad035b77e2d80d30bdb5cca73f5ab5cc3afea /src/or
parent71c0a13703e8d9453699fa578e527e6e859b674b (diff)
downloadtor-534c55f531ef021ec4505bfd742cd0f1289d1f34.tar.gz
tor-534c55f531ef021ec4505bfd742cd0f1289d1f34.zip
r13111@catbus: nickm | 2007-05-31 15:03:41 -0400
Cleanup whitespace. svn:r10425
Diffstat (limited to 'src/or')
-rw-r--r--src/or/connection_edge.c2
-rw-r--r--src/or/dirserv.c1
-rw-r--r--src/or/test.c3
3 files changed, 2 insertions, 4 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index b2d0cf589f..110057005c 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1365,7 +1365,7 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
conn, circ, cpath) < 0) ||
(!circ &&
connection_ap_handshake_attach_circuit(conn) < 0)) {
- connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);//xxxdup
+ connection_mark_unattached_ap(conn, END_STREAM_REASON_CANT_ATTACH);
return -1;
}
return 0;
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 86b502b4c0..31d85a2495 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1862,7 +1862,6 @@ generate_networkstatus_opinion(int v2)
!tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs");
memset(&rs, 0, sizeof(rs));
-
/* Already set by compute_performance_thresholds. */
rs.is_exit = ri->is_exit;
rs.is_stable = ri->is_stable =
diff --git a/src/or/test.c b/src/or/test.c
index 19db66e8a7..29b6d5c097 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -310,7 +310,6 @@ test_buffers(void)
test_memeq(str, (char*)_buf_peek_raw_buffer(buf), 10); /* XXX Check rest. */
test_eq(eof, 0);
-
i = read_to_buf(s, 1024, buf, &eof);
test_eq(i, 0);
test_eq(buf_capacity(buf), MAX_BUF_SIZE);
@@ -1011,7 +1010,7 @@ _test_eq_ip6(struct in6_addr *a, struct in6_addr *b, const char *e1,
r = tor_inet_pton(AF_INET6, b, &a2); \
test_assert(r==1); \
test_eq_ip6(&a1,&a2); \
- } while(0)
+ } while (0)
#define test_pton6_bad(a) \
test_eq(0, tor_inet_pton(AF_INET6, a, &a1))