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:
parent
325c7b8e8b
commit
df33a898d7
1
NEWS
1
NEWS
@ -1,6 +1,7 @@
|
|||||||
ver 0.21.8 (not yet released)
|
ver 0.21.8 (not yet released)
|
||||||
* output
|
* output
|
||||||
- httpd: add missing mutex lock
|
- httpd: add missing mutex lock
|
||||||
|
* fix Bonjour bug
|
||||||
* fix build failure with GCC 9
|
* fix build failure with GCC 9
|
||||||
|
|
||||||
ver 0.21.7 (2019/04/03)
|
ver 0.21.7 (2019/04/03)
|
||||||
|
@ -50,7 +50,7 @@ protected:
|
|||||||
/* virtual methods from class SocketMonitor */
|
/* virtual methods from class SocketMonitor */
|
||||||
bool OnSocketReady(gcc_unused unsigned flags) noexcept override {
|
bool OnSocketReady(gcc_unused unsigned flags) noexcept override {
|
||||||
DNSServiceProcessResult(service_ref);
|
DNSServiceProcessResult(service_ref);
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user