mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
QoL
This commit is contained in:
@@ -27,7 +27,14 @@ void Server::onResolveServiceReply(const int32_t& interface,
|
||||
const std::string& address, const uint16_t& port,
|
||||
const std::vector<std::vector<uint8_t>>& txt, const uint32_t& flags,
|
||||
const sdbus::Error* error) {
|
||||
if (error != nullptr && error->isValid()) {
|
||||
LOG(ERROR) << __func__ << ": ResolveService failed with error '"
|
||||
<< error->getName() << "' message '" << error->getMessage()
|
||||
<< "'";
|
||||
return;
|
||||
}
|
||||
|
||||
LOG(INFO) << "Resolved reply received";
|
||||
NsdServiceInfo info;
|
||||
|
||||
info.SetServiceName(name);
|
||||
|
||||
Reference in New Issue
Block a user