Skip to content

Commit

Permalink
Merge pull request #368 from lo-simon/fix-advertiser
Browse files Browse the repository at this point in the history
Fix advertiser service
  • Loading branch information
jonathan-r-thorpe authored Feb 5, 2024
2 parents 5866061 + 007e561 commit 1cea679
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 1cea679

Please sign in to comment.