summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-01-11 13:15:52 -0500
committerNick Mathewson <nickm@torproject.org>2012-01-16 15:01:54 -0500
commit9c6d913b9e1b84ffcefb2cbd9cfe6f7bd15fc9b3 (patch)
tree059f62a882164b2cb1f6a1244a512136c882add1 /src/or/control.c
parent79bb44c219af8f88573fb33954e5d2e16ef8fe42 (diff)
downloadtor-9c6d913b9e1b84ffcefb2cbd9cfe6f7bd15fc9b3.tar.gz
tor-9c6d913b9e1b84ffcefb2cbd9cfe6f7bd15fc9b3.zip
Rename smartlist_{v,}asprintf_add to smartlist_add_{v,}asprintf
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 60c62b15a5..a6b8e4fa92 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4239,9 +4239,9 @@ control_event_conf_changed(smartlist_t *elements)
char *k = smartlist_get(elements, i);
char *v = smartlist_get(elements, i+1);
if (v == NULL) {
- smartlist_asprintf_add(lines, "650-%s", k);
+ smartlist_add_asprintf(lines, "650-%s", k);
} else {
- smartlist_asprintf_add(lines, "650-%s=%s", k, v);
+ smartlist_add_asprintf(lines, "650-%s=%s", k, v);
}
}
result = smartlist_join_strings(lines, "\r\n", 0, NULL);