aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-08 15:20:24 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-08 15:20:24 +0200
commit162c8847de6f0d9f01c5ec1358e7345956990a74 (patch)
tree05e272c7893bde82b5a311573448a95ebef41499 /src/or/connection_edge.c
parent462568674a2465e8eb9cbb1cda65fa3e736c99fd (diff)
downloadtor-162c8847de6f0d9f01c5ec1358e7345956990a74.tar.gz
tor-162c8847de6f0d9f01c5ec1358e7345956990a74.zip
Update some documentation for the bug 1525 fix
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 365a7972e3..a0f6e85c5c 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1409,7 +1409,10 @@ consider_plaintext_ports(edge_connection_t *conn, uint16_t port)
#define TRACKHOSTEXITS_RETRIES 5
/** Call connection_ap_handshake_rewrite_and_attach() unless a controller
- * asked us to leave streams unattached.
+ * asked us to leave streams unattached. Return 0 in that case.
+ *
+ * See connection_ap_handshake_rewrite_and_attach()'s
+ * documentation for arguments and return value.
*/
int
connection_ap_rewrite_and_attach_if_allowed(edge_connection_t *conn,