Fixed compilation with latest Swiften
This commit is contained in:
parent
819c52172d
commit
33587d6fc1
3 changed files with 6 additions and 6 deletions
|
@ -33,8 +33,8 @@ int main(int, char **argv) {
|
|||
client->onConnected.connect(&handleConnected);
|
||||
client->onDisconnected.connect(bind(&handleDisconnected, _1));
|
||||
client->onMessageReceived.connect(bind(&handleMessageReceived, _1));
|
||||
ClientOptions opt;
|
||||
opt.allowPLAINOverNonTLS = true;
|
||||
Swift::ClientOptions opt;
|
||||
opt.allowPLAINWithoutTLS = true;
|
||||
client->connect(opt);
|
||||
|
||||
eventLoop.run();
|
||||
|
|
|
@ -34,8 +34,8 @@ int main(int, char **argv) {
|
|||
client->onConnected.connect(&handleConnected);
|
||||
client->onDisconnected.connect(bind(&handleDisconnected, _1));
|
||||
client->onMessageReceived.connect(bind(&handleMessageReceived, _1));
|
||||
ClientOptions opt;
|
||||
opt.allowPLAINOverNonTLS = true;
|
||||
Swift::ClientOptions opt;
|
||||
opt.allowPLAINWithoutTLS = true;
|
||||
client->connect(opt);
|
||||
|
||||
eventLoop.run();
|
||||
|
|
|
@ -34,8 +34,8 @@ int main(int, char **argv) {
|
|||
client->onConnected.connect(&handleConnected);
|
||||
client->onDisconnected.connect(bind(&handleDisconnected, _1));
|
||||
client->onMessageReceived.connect(bind(&handleMessageReceived, _1));
|
||||
ClientOptions opt;
|
||||
opt.allowPLAINOverNonTLS = true;
|
||||
Swift::ClientOptions opt;
|
||||
opt.allowPLAINWithoutTLS = true;
|
||||
client->connect(opt);
|
||||
|
||||
eventLoop.run();
|
||||
|
|
Loading…
Add table
Reference in a new issue