summaryrefslogtreecommitdiff
path: root/src/or/transports.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2013-07-29 15:59:59 +0200
committerNick Mathewson <nickm@torproject.org>2013-07-31 13:34:16 -0400
commitaaf79eb4d334fb5e1f98d0a68b3a30dde983325a (patch)
treec1ce76e2ba0311d806c484c912108fb8ae22428f /src/or/transports.c
parent2e7c531fdc63ed3d96180a10ea5d7d27989092a9 (diff)
downloadtor-aaf79eb4d334fb5e1f98d0a68b3a30dde983325a.tar.gz
tor-aaf79eb4d334fb5e1f98d0a68b3a30dde983325a.zip
Write unit tests for configure_proxy().
Diffstat (limited to 'src/or/transports.c')
-rw-r--r--src/or/transports.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/transports.c b/src/or/transports.c
index 604d9fce82..3aced21b3d 100644
--- a/src/or/transports.c
+++ b/src/or/transports.c
@@ -106,8 +106,6 @@ static void managed_proxy_destroy(managed_proxy_t *mp,
int also_terminate_process);
static void handle_finished_proxy(managed_proxy_t *mp);
-static int configure_proxy(managed_proxy_t *mp);
-
static void parse_method_error(const char *line, int is_server_method);
#define parse_server_method_error(l) parse_method_error(l, 1)
#define parse_client_method_error(l) parse_method_error(l, 0)
@@ -590,7 +588,7 @@ pt_configure_remaining_proxies(void)
* Return 1 if the transport configuration finished, and return 0
* otherwise (if we still have more configuring to do for this
* proxy). */
-static int
+STATIC int
configure_proxy(managed_proxy_t *mp)
{
int configuration_finished = 0;