From 4476fbbad9e66421dbaf4fa9a1a47566d7b0bdc6 Mon Sep 17 00:00:00 2001 From: Will Storey Date: Sat, 12 Oct 2019 15:37:49 -0700 Subject: [PATCH] Fix indentation --- src/core/servers-reconnect.c | 4 ++-- src/core/servers-setup.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/servers-reconnect.c b/src/core/servers-reconnect.c index 97175f78..dd949ead 100644 --- a/src/core/servers-reconnect.c +++ b/src/core/servers-reconnect.c @@ -181,7 +181,7 @@ server_connect_copy_skeleton(SERVER_CONNECT_REC *src, int connect_info) dest->tag = g_strdup(src->tag); if (connect_info) { - dest->family = src->family; + dest->family = src->family; dest->address = g_strdup(src->address); dest->port = src->port; dest->password = g_strdup(src->password); @@ -293,7 +293,7 @@ static void sig_reconnect(SERVER_REC *server) (!rec->last_connect || !rec->last_failed || rec->last_connect < now-FAILED_RECONNECT_WAIT)) { if (rec == sserver) - conn->port = server->connrec->port; + conn->port = server->connrec->port; sserver_connect(rec, conn); return; } diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index a505df5b..e1313791 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -159,11 +159,11 @@ static void server_setup_fill_server(SERVER_CONNECT_REC *conn, sserver->last_connect = time(NULL); - if (sserver->no_proxy) + if (sserver->no_proxy) g_free_and_null(conn->proxy); if (sserver->family != 0 && conn->family == 0) - conn->family = sserver->family; + conn->family = sserver->family; if (sserver->port > 0 && conn->port <= 0) conn->port = sserver->port;