We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff41f40 commit 2d420ddCopy full SHA for 2d420dd
src/common/ipc/server_router.cpp
@@ -300,7 +300,7 @@ class ServerRouterImpl final : public ServerRouter
300
//
301
handleRouteChannelMsg(msg.client_id, route_ch_msg, msg_payload);
302
},
303
- [this, &msg, msg_payload](const RouteChannelEnd_1_0& route_ch_end) {
+ [this, &msg](const RouteChannelEnd_1_0& route_ch_end) {
304
305
handleRouteChannelEnd(msg.client_id, route_ch_end);
306
}),
@@ -340,7 +340,7 @@ class ServerRouterImpl final : public ServerRouter
340
341
return server_pipe_->send(client_id, {{payload}});
342
});
343
- if (0 != error)
+ if (0 == error)
344
{
345
connected_client_ids_.insert(client_id);
346
}
0 commit comments