Make tls_new accept xmpp_conn_t
This commit is contained in:
@@ -564,7 +564,7 @@ static void _auth(xmpp_conn_t * const conn)
|
||||
}
|
||||
|
||||
if (conn->tls_support) {
|
||||
tls_t *tls = tls_new(conn->ctx, conn->sock);
|
||||
tls_t *tls = tls_new(conn);
|
||||
|
||||
/* If we couldn't init tls, it isn't there, so go on */
|
||||
if (!tls) {
|
||||
|
||||
Reference in New Issue
Block a user