[tor-commits] [tor/master] Split a long line

nickm at torproject.org nickm at torproject.org
Thu Feb 11 17:15:20 UTC 2016


commit 7f9ac4957ca8f75a5e72db1c8a967b45d092d125
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Feb 11 12:13:02 2016 -0500

    Split a long line
---
 src/or/connection.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/or/connection.c b/src/or/connection.c
index f459a1b..c012018 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
 





More information about the tor-commits mailing list