Commit e9159973713a6783d416c14dc97af26c58f58f55
1 parent
a670240b
Fix on connection
Showing
1 changed file
with
1 additions
and
1 deletions
src/clientpaho.cpp
@@ -1118,7 +1118,7 @@ void ClientPaho::onFirstConnect(void* context, char* cause) | @@ -1118,7 +1118,7 @@ void ClientPaho::onFirstConnect(void* context, char* cause) | ||
1118 | { | 1118 | { |
1119 | auto *cl = reinterpret_cast<ClientPaho*>(context); | 1119 | auto *cl = reinterpret_cast<ClientPaho*>(context); |
1120 | std::string reason(nullptr == cause ? "Unknown cause" : cause); | 1120 | std::string reason(nullptr == cause ? "Unknown cause" : cause); |
1121 | - cl->pushIncomingEvent([cl, reason]() { cl->onFirstConnectInstance(reason); }); | 1121 | + cl->pushIncomingEvent([cl, reason]() { cl->onFirstConnectOnInstance(reason); }); |
1122 | } | 1122 | } |
1123 | } | 1123 | } |
1124 | 1124 |