Commit df33a898 authored by Max Kellermann's avatar Max Kellermann

zeroconf/Bonjour: fix OnSocketReady() return value

Keep the SocketMonitor registered. This wrong return value was added 6 years ago in commit 72cf8dd8, andd apparently, nobody ever noticed.
parent 325c7b8e
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)
......
......@@ -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;
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment