aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-03 16:41:54 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-16 23:03:25 -0400
commitdb8259c23035a802610ece3dd437cd3ccc32ac9d (patch)
tree2c499e58b1f2cf4c456f417f834323df2608a75a /src/or/connection_edge.c
parentf680d0fdd2e42bce109219ed78d0527d16995415 (diff)
downloadtor-db8259c23035a802610ece3dd437cd3ccc32ac9d.tar.gz
tor-db8259c23035a802610ece3dd437cd3ccc32ac9d.zip
Whitespace, doc fixes
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 04e60b9139..f294842177 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1391,7 +1391,9 @@ get_pf_socket(void)
}
#endif
-static int
+/** Try fill in the address of <b>req</b> from the socket configured
+ * with <b>conn</b>. */
+static int
destination_from_socket(entry_connection_t *conn, socks_request_t *req)
{
struct sockaddr_storage orig_dst;
@@ -1506,7 +1508,6 @@ destination_from_pf(entry_connection_t *conn, socks_request_t *req)
return 0;
}
-
/** Fetch the original destination address and port from a
* system-specific interface and put them into a
* socks_request_t as if they came from a socks request.