diff --git a/src/or/control.c b/src/or/control.c index 27498d4ca2..f9415b922c 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -486,7 +486,7 @@ handle_control_mapaddress(connection_t *conn, uint16_t len, const char *body) smartlist_free(elts); r = smartlist_join_strings(reply, "\n", 1, &sz); - send_control_done2(conn,sz,r); + send_control_done2(conn,r,sz); SMARTLIST_FOREACH(reply, char *, cp, tor_free(cp)); smartlist_free(reply);