浏览代码

fix compile error if you're not multithreaded

svn:r4177
Roger Dingledine 20 年之前
父节点
当前提交
68ba303323
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/dns.c

+ 1 - 1
src/or/dns.c

@@ -722,7 +722,7 @@ static int dnsworker_main(void *data) {
   fd = fdarray[1]; /* this side is ours */
 #ifndef TOR_IS_MULTITHREADED
   tor_close_socket(fdarray[0]); /* this is the side of the socketpair the parent uses */
-  connection_free_all(1); /* so the child doesn't hold the parent's fd's open */
+  tor_free_all(1); /* so the child doesn't hold the parent's fd's open */
   handle_signals(0); /* ignore interrupts from the keyboard, etc */
 #endif
   tor_free(data);