mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 17:42:49 +02:00
fix crash on tls error
This commit is contained in:
parent
1e54b92220
commit
308400154b
1 changed files with 1 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ static void server_real_connect(SERVER_REC *server, IPADDR *ip,
|
||||||
handle = net_start_ssl(server);
|
handle = net_start_ssl(server);
|
||||||
if (handle == NULL) {
|
if (handle == NULL) {
|
||||||
net_sendbuffer_destroy(server->handle, TRUE);
|
net_sendbuffer_destroy(server->handle, TRUE);
|
||||||
|
server->handle = NULL;
|
||||||
} else {
|
} else {
|
||||||
server->handle->handle = handle;
|
server->handle->handle = handle;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue