Also call the connection handler callback if a connection attempt fails.

Otherwise there's no way for the client to stop the event loop and/or
retry.
This commit is contained in:
Ralph Giles
2005-06-29 15:25:08 +00:00
parent 64b85aadda
commit 6a1b2cada9
2 changed files with 5 additions and 1 deletions

View File

@@ -91,7 +91,8 @@ typedef struct _xmpp_stanza_t xmpp_stanza_t;
/* connect callback */
typedef enum {
XMPP_CONN_CONNECT,
XMPP_CONN_DISCONNECT
XMPP_CONN_DISCONNECT,
XMPP_CONN_FAIL
} xmpp_conn_event_t;
typedef enum {