summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2017-10-23 19:44:06 +0000
committerNick Mathewson <nickm@torproject.org>2017-10-24 19:26:24 -0400
commit02cde0d9398c43de3a67133b7982d9df6962fe32 (patch)
treee84e8252f9e8357b530c171a69c3eff01e1eb873 /src/or/config.c
parentb0e10f23ba2b03f275ef4acf2183a02042e6cded (diff)
downloadtor-02cde0d9398c43de3a67133b7982d9df6962fe32.tar.gz
tor-02cde0d9398c43de3a67133b7982d9df6962fe32.zip
test: Add unittest for descriptors with BridgeDistribution option.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 4d08a07957..0b1e6bed14 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -654,7 +654,6 @@ static int parse_ports(or_options_t *options, int validate_only,
static int check_server_ports(const smartlist_t *ports,
const or_options_t *options,
int *num_low_ports_out);
-static int check_bridge_distribution_setting(const char *bd);
static int validate_data_directory(or_options_t *options);
static int write_configuration_file(const char *fname,
const or_options_t *options);
@@ -6370,7 +6369,7 @@ warn_client_dns_cache(const char *option, int disabling)
* returned. If the option string contains an invalid character, -1 is
* returned.
**/
-static int
+STATIC int
check_bridge_distribution_setting(const char *bd)
{
if (bd == NULL)