aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-24 19:35:16 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-24 19:35:16 -0400
commitf3af74ccf594c07f7edbf0bdfa576b9af21563d9 (patch)
tree45cf71c16ac39452458a68cc0c1ddb28d1b4958b /src/test/test_config.c
parent44e8aaa9aa57bf6b9fce1712a8f77e5f9979392c (diff)
downloadtor-f3af74ccf594c07f7edbf0bdfa576b9af21563d9.tar.gz
tor-f3af74ccf594c07f7edbf0bdfa576b9af21563d9.zip
Updates to fix check-spaces/check-changes warnings
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r--src/test/test_config.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 593d3ca8f2..978a24b816 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -4893,7 +4893,8 @@ test_config_parse_port_config__ports__server_options(void *data)
/* If we're not configured to be a bridge, but we set
* BridgeDistribution, then options_validate () should return -1. */
static void
-test_config_check_bridge_distribution_setting_not_a_bridge(void *arg) {
+test_config_check_bridge_distribution_setting_not_a_bridge(void *arg)
+{
or_options_t* options = get_options_mutable();
or_options_t* old_options = options;
or_options_t* default_options = options;
@@ -4914,7 +4915,8 @@ test_config_check_bridge_distribution_setting_not_a_bridge(void *arg) {
/* If the BridgeDistribution setting was valid, 0 should be returned. */
static void
-test_config_check_bridge_distribution_setting_valid(void *arg) {
+test_config_check_bridge_distribution_setting_valid(void *arg)
+{
int ret = check_bridge_distribution_setting("https");
(void)arg;
@@ -4926,7 +4928,8 @@ test_config_check_bridge_distribution_setting_valid(void *arg) {
/* If the BridgeDistribution setting was invalid, -1 should be returned. */
static void
-test_config_check_bridge_distribution_setting_invalid(void *arg) {
+test_config_check_bridge_distribution_setting_invalid(void *arg)
+{
int ret = check_bridge_distribution_setting("hyphens-are-allowed");
(void)arg;
@@ -4943,7 +4946,8 @@ test_config_check_bridge_distribution_setting_invalid(void *arg) {
/* If the BridgeDistribution setting was unrecognised, a warning should be
* logged and 0 should be returned. */
static void
-test_config_check_bridge_distribution_setting_unrecognised(void *arg) {
+test_config_check_bridge_distribution_setting_unrecognised(void *arg)
+{
int ret = check_bridge_distribution_setting("unicorn");
(void)arg;