summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-02-11 12:13:02 -0500
committerNick Mathewson <nickm@torproject.org>2016-02-11 12:13:02 -0500
commit7f9ac4957ca8f75a5e72db1c8a967b45d092d125 (patch)
treec3cfe6b349b017122377e10bddadb8e1f9b8286b /src/or/connection.c
parentbc7a5eeeda58c68b3c8434fd66c404aae269dbb0 (diff)
downloadtor-7f9ac4957ca8f75a5e72db1c8a967b45d092d125.tar.gz
tor-7f9ac4957ca8f75a5e72db1c8a967b45d092d125.zip
Split a long line
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index f459a1b608..c012018bb2 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -2397,7 +2397,8 @@ retry_listener_ports(smartlist_t *old_conns,
/* We don't need to be root to create a UNIX socket, so defer until after
* setuid. */
const or_options_t *options = get_options();
- if (port->is_unix_addr && !geteuid() && (options->User) && strcmp(options->User, "root"))
+ if (port->is_unix_addr && !geteuid() && (options->User) &&
+ strcmp(options->User, "root"))
continue;
#endif