summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-09-11 23:34:36 +0200
committerGeorge Kadianakis <desnacked@gmail.com>2011-09-11 23:34:36 +0200
commitde7565f87fba14973038fbcd740ff9fecaa28b4e (patch)
tree29ab349f4b49a7474e450b7806026c428a705175 /src/or/transports.c
parentc6811c57cb75b2c594b2a6fffaca0c5ae4c19e0a (diff)
downloadtor-de7565f87fba14973038fbcd740ff9fecaa28b4e.tar.gz
tor-de7565f87fba14973038fbcd740ff9fecaa28b4e.zip
Make check-spaces happy.
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index 6d1ddebe5d..01cbfca9df 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -13,7 +13,8 @@
#include "transports.h"
#include "util.h"
-static void set_managed_proxy_environment(char ***envp, const managed_proxy_t *mp);
+static void set_managed_proxy_environment(char ***envp,
+ const managed_proxy_t *mp);
static INLINE int proxy_configuration_finished(const managed_proxy_t *mp);
static void managed_proxy_destroy(managed_proxy_t *mp);
@@ -495,7 +496,6 @@ proxy_configuration_finished(const managed_proxy_t *mp)
mp->conf_state == PT_PROTO_BROKEN);
}
-
/** This function is called when a proxy sends an {S,C}METHODS DONE message. */
static void
handle_methods_done(const managed_proxy_t *mp)
@@ -863,10 +863,12 @@ set_managed_proxy_environment(char ***envp, const managed_proxy_t *mp)
if (mp->is_server) {
bindaddr = get_bindaddr_for_proxy(mp);
- tor_asprintf(tmp++, "TOR_PT_ORPORT=127.0.0.1:%d", options->ORPort); /* XXX temp */
+ /* XXX temp */
+ tor_asprintf(tmp++, "TOR_PT_ORPORT=127.0.0.1:%d", options->ORPort);
tor_asprintf(tmp++, "TOR_PT_SERVER_BINDADDR=%s", bindaddr);
tor_asprintf(tmp++, "TOR_PT_SERVER_TRANSPORTS=%s", transports_to_launch);
- tor_asprintf(tmp++, "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200"); /* XXX temp*/
+ /* XXX temp*/
+ tor_asprintf(tmp++, "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200");
} else {
tor_asprintf(tmp++, "TOR_PT_CLIENT_TRANSPORTS=%s", transports_to_launch);
}
@@ -952,7 +954,6 @@ free_execve_args(char **arg)
tor_free(arg);
}
-
/** Tor will read its config, prepare the managed proxy list so that
* proxies that are not used in the new config will shutdown, and
* proxies that need to spawn more transports will do so. */