diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-05 11:48:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-05 11:32:32 -0400 |
commit | 16cf9424c1480aea2443f6995d1056e8f04ba5e3 (patch) | |
tree | 90f44c48f44dc820cd763ae8d8bbf1db2f3152aa /src/app/config/config.c | |
parent | 22e7d33735805799a31949a58f64ce634e47477f (diff) | |
download | tor-16cf9424c1480aea2443f6995d1056e8f04ba5e3.tar.gz tor-16cf9424c1480aea2443f6995d1056e8f04ba5e3.zip |
config: Invert sense of _is_invisible, and rename to is_listable()
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r-- | src/app/config/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index 0cbc223d02..9c93198a45 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -8128,7 +8128,7 @@ getinfo_helper_config(control_connection_t *conn, smartlist_t *vars = config_mgr_list_vars(get_options_mgr()); SMARTLIST_FOREACH_BEGIN(vars, const config_var_t *, var) { /* don't tell controller about invisible options */ - if (config_var_is_invisible(var)) + if (! config_var_is_listable(var)) continue; const char *type = struct_var_get_typename(&var->member); if (!type) |