0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

starttls: Update for client fd hash removal.

This commit is contained in:
Jilles Tjoelker 2015-12-24 23:00:09 +01:00
parent a5ddb7df2e
commit e124e4b64c

View file

@ -77,9 +77,7 @@ mr_starttls(struct Client *client_p, struct Client *source_p, int parc, const ch
ctl = start_ssld_accept(client_p->localClient->F, F[1], rb_get_fd(F[0]));
if (ctl != NULL)
{
del_from_cli_fd_hash(client_p);
client_p->localClient->F = F[0];
add_to_cli_fd_hash(client_p);
client_p->localClient->ssl_ctl = ctl;
SetSSL(client_p);
}