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

1
NEWS
View File

@ -1,6 +1,7 @@
ver 0.21.8 (not yet released)
* output
- httpd: add missing mutex lock
* fix Bonjour bug
* fix build failure with GCC 9
ver 0.21.7 (2019/04/03)

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;
}
};