connect() returns a boolean

This commit is contained in:
Florent Le Coz
2013-12-24 14:03:40 +01:00
parent 2ecb637f0c
commit 983477084c
4 changed files with 9 additions and 7 deletions
+3 -2
View File
@@ -25,9 +25,10 @@ public:
void parse_in_buffer() override final;
/**
* Connect to the XMPP server
* Connect to the XMPP server.
* Returns false if we failed to connect
*/
void start();
bool start();
/**
* Serialize the stanza and add it to the out_buf to be sent to the
* server.