zeroconf/Bonjour: fix OnSocketReady() return value

Keep the SocketMonitor registered.  This wrong return value was added
6 years ago in commit 72cf8dd8a0, andd
apparently, nobody ever noticed.
This commit is contained in:
Max Kellermann
2019-04-04 10:24:10 +02:00
parent 325c7b8e8b
commit df33a898d7
2 changed files with 2 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ protected:
/* virtual methods from class SocketMonitor */
bool OnSocketReady(gcc_unused unsigned flags) noexcept override {
DNSServiceProcessResult(service_ref);
return false;
return true;
}
};