summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-09-09 18:21:19 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-09-09 18:21:19 +0000
commitcae44838fecc550f2df16de44b0ef297ecb509a6 (patch)
treef03142b8b754d05d11c80eba9807ae48caffe3e1 /src/or/transports.c
parent60ac9f1c90f6036356f778513f0eb3e2f9760fa3 (diff)
downloadtor-cae44838fecc550f2df16de44b0ef297ecb509a6.tar.gz
tor-cae44838fecc550f2df16de44b0ef297ecb509a6.zip
Fix issues brought up in nickm's review.
* Update pt_get_proxy_uri() documentation. * proxy_supported is now unsigned. * Added a changes file.
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index eee159d374..8dc2cfd4bd 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -754,7 +754,9 @@ managed_proxy_destroy(managed_proxy_t *mp,
tor_free(mp);
}
-/** Convert the tor proxy options to a URI suitable for TOR_PT_PROXY. */
+/** Convert the tor proxy options to a URI suitable for TOR_PT_PROXY.
+ * Return a newly allocated string containing the URI, or NULL if no
+ * proxy is set. */
STATIC char *
get_pt_proxy_uri(void)
{