connect() returns a boolean
This commit is contained in:
@@ -46,9 +46,9 @@ XmppComponent::~XmppComponent()
|
||||
{
|
||||
}
|
||||
|
||||
void XmppComponent::start()
|
||||
bool XmppComponent::start()
|
||||
{
|
||||
this->connect("127.0.0.1", "5347");
|
||||
return this->connect("127.0.0.1", "5347");
|
||||
}
|
||||
|
||||
void XmppComponent::send_stanza(const Stanza& stanza)
|
||||
|
||||
Reference in New Issue
Block a user