summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-04-23 02:57:53 +0200
committerNick Mathewson <nickm@torproject.org>2011-05-15 20:20:28 -0400
commit4198261291c8edbd5ba1617b7bfe3563e51edbe7 (patch)
tree62e0cd1b1aad01a4b40b59d1faa69c644f5252d4 /src/or/connection.c
parentd41ac64ad68811d8575db6e456fba470b0c3fde7 (diff)
downloadtor-4198261291c8edbd5ba1617b7bfe3563e51edbe7.tar.gz
tor-4198261291c8edbd5ba1617b7bfe3563e51edbe7.zip
Clean up the 2972 implementation a little
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index d0898c5e5c..12e00e59bb 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -966,9 +966,9 @@ connection_create_listener(const struct sockaddr *listensockaddr,
tor_socket_strerror(tor_socket_errno(s)));
goto err;
}
- if (get_options()->UnixSocketsGroupWritable) {
+ if (get_options()->ControlSocketsGroupWritable) {
if (chmod(address, 0660) < 0) {
- log_warn(LD_FS,"Unable to make %s group-readable.", address);
+ log_warn(LD_FS,"Unable to make %s group-writable.", address);
tor_close_socket(s);
goto err;
}