[tor-commits] [tor/master] Fix spacing in if statement in port_parse_config()

dgoulet at torproject.org dgoulet at torproject.org
Tue May 19 19:15:59 UTC 2020


commit 2e0d0360cd0f8c1724c846f627b2a9940b4acbfb
Author: Neel Chauhan <neel at neelc.org>
Date:   Sat May 16 22:23:59 2020 -0700

    Fix spacing in if statement in port_parse_config()
---
 src/app/config/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/config/config.c b/src/app/config/config.c
index 7ed373c54..71f8c18ca 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -6159,7 +6159,7 @@ port_parse_config(smartlist_t *out,
                portname);
       goto err;
     }
-    if ( has_used_unix_socket_only_option && ! unix_socket_path) {
+    if (has_used_unix_socket_only_option && !unix_socket_path) {
       log_warn(LD_CONFIG, "You have a %sPort entry with GroupWritable, "
                "WorldWritable, or RelaxDirModeCheck, but it is not a "
                "unix socket.", portname);





More information about the tor-commits mailing list