mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
Fix indentation
This commit is contained in:
parent
ef5579c212
commit
4476fbbad9
@ -181,7 +181,7 @@ server_connect_copy_skeleton(SERVER_CONNECT_REC *src, int connect_info)
|
|||||||
dest->tag = g_strdup(src->tag);
|
dest->tag = g_strdup(src->tag);
|
||||||
|
|
||||||
if (connect_info) {
|
if (connect_info) {
|
||||||
dest->family = src->family;
|
dest->family = src->family;
|
||||||
dest->address = g_strdup(src->address);
|
dest->address = g_strdup(src->address);
|
||||||
dest->port = src->port;
|
dest->port = src->port;
|
||||||
dest->password = g_strdup(src->password);
|
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 || !rec->last_failed ||
|
||||||
rec->last_connect < now-FAILED_RECONNECT_WAIT)) {
|
rec->last_connect < now-FAILED_RECONNECT_WAIT)) {
|
||||||
if (rec == sserver)
|
if (rec == sserver)
|
||||||
conn->port = server->connrec->port;
|
conn->port = server->connrec->port;
|
||||||
sserver_connect(rec, conn);
|
sserver_connect(rec, conn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -159,11 +159,11 @@ static void server_setup_fill_server(SERVER_CONNECT_REC *conn,
|
|||||||
|
|
||||||
sserver->last_connect = time(NULL);
|
sserver->last_connect = time(NULL);
|
||||||
|
|
||||||
if (sserver->no_proxy)
|
if (sserver->no_proxy)
|
||||||
g_free_and_null(conn->proxy);
|
g_free_and_null(conn->proxy);
|
||||||
|
|
||||||
if (sserver->family != 0 && conn->family == 0)
|
if (sserver->family != 0 && conn->family == 0)
|
||||||
conn->family = sserver->family;
|
conn->family = sserver->family;
|
||||||
if (sserver->port > 0 && conn->port <= 0)
|
if (sserver->port > 0 && conn->port <= 0)
|
||||||
conn->port = sserver->port;
|
conn->port = sserver->port;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user