Skip to content

Commit

Permalink
client not reflect to the outside function
Browse files Browse the repository at this point in the history
  • Loading branch information
lo-simon committed Jan 31, 2024
1 parent 85d5443 commit c7d9a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Development/mdns/service_advertiser_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace mdns_details
}
}

static bool register_address(DNSServiceRef client, const std::string& host_name, const std::string& ip_address_, const std::string& domain, std::uint32_t interface_id, slog::base_gate& gate)
static bool register_address(DNSServiceRef& client, const std::string& host_name, const std::string& ip_address_, const std::string& domain, std::uint32_t interface_id, slog::base_gate& gate)
{
// since empty host_name is valid for other functions, check that logic error here
if (host_name.empty()) return false;
Expand Down

0 comments on commit c7d9a15

Please sign in to comment.