diff options
author | Taylor Yu <catalyst@torproject.org> | 2019-12-08 22:20:16 -0600 |
---|---|---|
committer | Taylor Yu <catalyst@torproject.org> | 2019-12-09 09:55:04 -0600 |
commit | bfe38878b28a90fb80d9e6311d28dcabd978b1ba (patch) | |
tree | a6fa7a51ae0a1ae2b708669c8478afcadf45cd3d /src/feature/control/control_cmd.c | |
parent | 69d56625d14ad61db389acd4e0cdde7582f13c56 (diff) | |
download | tor-bfe38878b28a90fb80d9e6311d28dcabd978b1ba.tar.gz tor-bfe38878b28a90fb80d9e6311d28dcabd978b1ba.zip |
Rename control_reply_add_1kv
Part of ticket 30984.
Diffstat (limited to 'src/feature/control/control_cmd.c')
-rw-r--r-- | src/feature/control/control_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c index ce7d1ad2cf..cc4375112f 100644 --- a/src/feature/control/control_cmd.c +++ b/src/feature/control/control_cmd.c @@ -299,13 +299,13 @@ handle_control_getconf(control_connection_t *conn, config_line_t *answer = option_get_assignment(options,q); if (!answer) { const char *name = option_get_canonical_name(q); - control_reply_add_1kv(answers, 250, KV_OMIT_VALS, name, ""); + control_reply_add_one_kv(answers, 250, KV_OMIT_VALS, name, ""); } while (answer) { config_line_t *next; - control_reply_add_1kv(answers, 250, KV_RAW, answer->key, - answer->value); + control_reply_add_one_kv(answers, 250, KV_RAW, answer->key, + answer->value); next = answer->next; tor_free(answer->key); tor_free(answer->value); |