aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-07 00:50:39 +0000
commit06e5b2283c6b3b256f098191e7b86a44f00b2ccb (patch)
tree42facd018edd0278c2f4ef6777f9fd3afad8890f /src/or/connection_edge.c
parent8ba5471de3c4b26f19f021ee8035c507dc1915f3 (diff)
downloadtor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.tar.gz
tor-06e5b2283c6b3b256f098191e7b86a44f00b2ccb.zip
minor cleanups
svn:r8622
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 219b22531a..f942858a77 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2144,7 +2144,7 @@ connection_exit_connect(edge_connection_t *edge_conn)
* bridge connection with a socketpair, create a new directory conn, and join
* them together. Return 0 on success (or if there was an error we could send
* back an end cell for). Return -1 if the circuit needs to be torn down.
- * Either connects exit_conn, or frees it, or marks it as appropriate.
+ * Either connects exit_conn, or frees it, or marks it, as appropriate.
*/
static int
connection_exit_connect_dir(edge_connection_t *exit_conn)
@@ -2187,7 +2187,6 @@ connection_exit_connect_dir(edge_connection_t *exit_conn)
if (connection_add(TO_CONN(exit_conn))<0) {
connection_edge_end(exit_conn, END_STREAM_REASON_RESOURCELIMIT,
exit_conn->cpath_layer);
- /* XXXX Have I got the free/mark distinction right? -NM */
connection_free(TO_CONN(exit_conn));
connection_free(TO_CONN(dir_conn));
return 0;