dhtproxy: fix server send push notif underflow

This commit is contained in:
Seva committed 2019-07-16 13:04:37 -04:00
1 parent 630112601c
commit 0f9df9a62b
1 file changed
+1 -1
+1 -1
View File
@@ -636,7 +636,7 @@ DhtProxyServer::sendPushNotification(const std::string& token, Json::Value&& jso
if (pushServer_.empty())
return;
httpClient_->async_connect([this, &token, json=std::move(json), isAndroid](std::shared_ptr<http::Connection> conn)
httpClient_->async_connect([this, token, json=std::move(json), isAndroid](std::shared_ptr<http::Connection> conn)
{
if (!conn){
logger_->e("[proxy:server] [notification] invalid connection");