conn: refactore connect functions

Common code is moved to a separated function.
This commit is contained in:
Dmitry Podgorny
2016-04-12 20:19:16 +00:00
parent 968cb7dcdf
commit b169c0a91e
2 changed files with 102 additions and 94 deletions

View File

@@ -131,6 +131,8 @@ struct _xmpp_handlist_t {
};
};
#define MAX_DOMAIN_LEN 256
#define SASL_MASK_PLAIN 0x01
#define SASL_MASK_DIGESTMD5 0x02
#define SASL_MASK_ANONYMOUS 0x04