fix bug in control mapaddress

svn:r3705
This commit is contained in:
Roger Dingledine 2005-02-27 23:20:48 +00:00
parent 3cef60a0f7
commit 25ff3a5042

View File

@ -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);