Handle situations where tls doesn't init.

This commit is contained in:
James Canete
2008-05-14 20:46:35 +00:00
parent c9d7b85788
commit d339246a6f
2 changed files with 22 additions and 6 deletions

View File

@@ -160,7 +160,8 @@ struct _xmpp_conn_t {
sock_t sock;
tls_t *tls;
int tls_support;
int tls_support;
int tls_failed; /* set when tls fails, so we don't try again */
int sasl_support; /* if true, field is a bitfield of supported
mechanisms */