소스 검색

fix bug in control mapaddress

svn:r3705
Roger Dingledine 20 년 전
부모
커밋
25ff3a5042
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/control.c

+ 1 - 1
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);