aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/connection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 0420f2656b..63bfb2e01e 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -1732,8 +1732,7 @@ connection_connect_log_client_use_ip_version(const connection_t *conn)
/* Only clients care about ClientUseIPv4/6, bail out early on servers, and
* on connections we don't care about */
- if (server_mode(options) || !conn
- || conn->type == CONN_TYPE_EXIT) {
+ if (server_mode(options) || !conn || conn->type == CONN_TYPE_EXIT) {
return;
}