Skip to content

Commit

Permalink
remove 1 client oscquery server client id ip override
Browse files Browse the repository at this point in the history
  • Loading branch information
x37v committed Nov 16, 2023
1 parent 394aa36 commit a76f747
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/ossia/network/oscquery/oscquery_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ namespace oscquery
static uintptr_t
client_identifier(const clients& clts, const oscpack::IpEndpointName& ip)
{
if(clts.size() == 1)
return (uintptr_t)clts[0]->connection.lock().get();

for(const auto& client_p : clts)
{
auto& c = *client_p;
Expand Down
3 changes: 0 additions & 3 deletions src/ossia/protocols/oscquery/oscquery_server_asio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ struct oscquery_server_protocol::osc_receiver_impl : ossia::net::udp_receive_soc
static uintptr_t
client_identifier(const clients& clts, const oscpack::IpEndpointName& ip)
{
if(clts.size() == 1)
return (uintptr_t)clts[0]->connection.lock().get();

for(const auto& client_p : clts)
{
auto& c = *client_p;
Expand Down

0 comments on commit a76f747

Please sign in to comment.