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_proto.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_proto.c')
-rw-r--r-- | src/feature/control/control_proto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/control/control_proto.c b/src/feature/control/control_proto.c index 4efe735c72..7d04fea6a7 100644 --- a/src/feature/control/control_proto.c +++ b/src/feature/control/control_proto.c @@ -335,8 +335,8 @@ control_write_reply_lines(control_connection_t *conn, smartlist_t *lines) * @param val value */ void -control_reply_add_1kv(smartlist_t *reply, int code, int flags, - const char *key, const char *val) +control_reply_add_one_kv(smartlist_t *reply, int code, int flags, + const char *key, const char *val) { control_reply_line_t *line = tor_malloc_zero(sizeof(*line)); @@ -374,7 +374,7 @@ control_reply_append_kv(smartlist_t *reply, const char *key, const char *val) void control_reply_add_str(smartlist_t *reply, int code, const char *s) { - control_reply_add_1kv(reply, code, KV_OMIT_KEYS|KV_RAW, "", s); + control_reply_add_one_kv(reply, code, KV_OMIT_KEYS|KV_RAW, "", s); } /** Format a new reply line |