diff options
author | teor <teor@torproject.org> | 2019-11-29 10:53:32 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-11-29 10:53:32 +1000 |
commit | 7a69b3aebc2d1aebc6851ac742c20acb574f78ea (patch) | |
tree | c0f666037b49e23f8689ba11423dae623747c461 /src/feature/control/control_events.c | |
parent | 7572988ea95fe4ae5201509a37ab06a3c3778c6d (diff) | |
download | tor-7a69b3aebc2d1aebc6851ac742c20acb574f78ea.tar.gz tor-7a69b3aebc2d1aebc6851ac742c20acb574f78ea.zip |
control: Rename a function variable
Cleanup after 31531.
Diffstat (limited to 'src/feature/control/control_events.c')
-rw-r--r-- | src/feature/control/control_events.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/feature/control/control_events.c b/src/feature/control/control_events.c index 02e30f66da..fb3410b898 100644 --- a/src/feature/control/control_events.c +++ b/src/feature/control/control_events.c @@ -1771,19 +1771,19 @@ control_event_guard(const char *nickname, const char *digest, } /** Called when a configuration option changes. This is generally triggered - * by SETCONF requests and RELOAD/SIGHUP signals. The <b>elements</b> is + * by SETCONF requests and RELOAD/SIGHUP signals. The <b>changes</b> are * a smartlist_t containing (key, value, ...) pairs in sequence. - * <b>value</b> can be NULL. */ + * <b>changes</b> can be NULL. */ int -control_event_conf_changed(const config_line_t *elements) +control_event_conf_changed(const config_line_t *changes) { char *result; smartlist_t *lines; - if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) || !elements) { + if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) || !changes) { return 0; } lines = smartlist_new(); - for (const config_line_t *line = elements; line; line = line->next) { + for (const config_line_t *line = changes; line; line = line->next) { if (line->value == NULL) { smartlist_add_asprintf(lines, "650-%s", line->key); } else { |