mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
Fill more connection information in one spot
This commit is contained in:
parent
1639425217
commit
34effcec01
2 changed files with 10 additions and 12 deletions
|
|
@ -151,10 +151,6 @@ static int server_reconnect_timeout(void)
|
|||
|
||||
static void sserver_connect(SERVER_SETUP_REC *rec, SERVER_CONNECT_REC *conn)
|
||||
{
|
||||
conn->family = rec->family;
|
||||
conn->address = g_strdup(rec->address);
|
||||
if (conn->port == 0) conn->port = rec->port;
|
||||
|
||||
server_setup_fill_reconn(conn, rec);
|
||||
server_reconnect_add(conn, rec->last_connect+reconnect_time);
|
||||
server_connect_unref(conn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue