summaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-06-05 20:54:49 +0000
committerNick Mathewson <nickm@torproject.org>2007-06-05 20:54:49 +0000
commit210beff55a17643d54c0d7142d9662a97d8fd51d (patch)
tree7457ff86164ff36dc8df3e0a14c6abf4998d76f8 /src/or/cpuworker.c
parentf0345d46f6372a56c586a05d1a714473eaeccc27 (diff)
downloadtor-210beff55a17643d54c0d7142d9662a97d8fd51d.tar.gz
tor-210beff55a17643d54c0d7142d9662a97d8fd51d.zip
r13266@catbus: nickm | 2007-06-05 16:38:08 -0400
Patch from peter palfrader: control interface via unix domain socket svn:r10504
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r--src/or/cpuworker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c
index 4b23f58f39..2fb0e7d2a0 100644
--- a/src/or/cpuworker.c
+++ b/src/or/cpuworker.c
@@ -339,7 +339,7 @@ spawn_cpuworker(void)
tor_free(fdarray);
#endif
- conn = connection_new(CONN_TYPE_CPUWORKER);
+ conn = connection_new(CONN_TYPE_CPUWORKER, AF_UNIX);
set_socket_nonblocking(fd);