aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-07 20:16:56 +1000
committerteor <teor@riseup.net>2020-05-07 20:16:56 +1000
commit74902c8aca96dda3178fac768223bcdb9a11f50c (patch)
tree2df88af692001a780926d856b40231662dd2cf72 /src/feature/control
parent05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (diff)
downloadtor-74902c8aca96dda3178fac768223bcdb9a11f50c.tar.gz
tor-74902c8aca96dda3178fac768223bcdb9a11f50c.zip
Wrap long lines
Diffstat (limited to 'src/feature/control')
-rw-r--r--src/feature/control/control_getinfo.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/feature/control/control_getinfo.c b/src/feature/control/control_getinfo.c
index 52cf54b1cd..39113b5712 100644
--- a/src/feature/control/control_getinfo.c
+++ b/src/feature/control/control_getinfo.c
@@ -1276,15 +1276,18 @@ getinfo_helper_events(control_connection_t *control_conn,
*answer = tor_strdup(directories_have_accepted_server_descriptor()
? "1" : "0");
} else if (!strcmp(question, "status/reachability-succeeded/or")) {
- *answer = tor_strdup(router_should_skip_orport_reachability_check(options) ?
- "1" : "0");
+ *answer = tor_strdup(
+ router_should_skip_orport_reachability_check(options) ?
+ "1" : "0");
} else if (!strcmp(question, "status/reachability-succeeded/dir")) {
- *answer = tor_strdup(router_should_skip_dirport_reachability_check(options) ?
- "1" : "0");
+ *answer = tor_strdup(
+ router_should_skip_dirport_reachability_check(options) ?
+ "1" : "0");
} else if (!strcmp(question, "status/reachability-succeeded")) {
- tor_asprintf(answer, "OR=%d DIR=%d",
- router_should_skip_orport_reachability_check(options) ? 1 : 0,
- router_should_skip_dirport_reachability_check(options) ? 1 : 0);
+ tor_asprintf(
+ answer, "OR=%d DIR=%d",
+ router_should_skip_orport_reachability_check(options) ? 1 : 0,
+ router_should_skip_dirport_reachability_check(options) ? 1 : 0);
} else if (!strcmp(question, "status/bootstrap-phase")) {
*answer = control_event_boot_last_msg();
} else if (!strcmpstart(question, "status/version/")) {