aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-31 21:11:01 +0100
committerMax Kellermann <max@duempel.org>2013-01-31 21:11:06 +0100
commit72cf8dd8a0451a4d9dae14a68483dc31adc61b09 (patch)
tree9f479e3a2d8d9604c7a2f2313fbbb509631f297a /src
parent3c2b464dfa07f09a8a3ed0840d5b37fe614c2ad7 (diff)
downloadmpd-72cf8dd8a0451a4d9dae14a68483dc31adc61b09.tar.gz
mpd-72cf8dd8a0451a4d9dae14a68483dc31adc61b09.tar.xz
mpd-72cf8dd8a0451a4d9dae14a68483dc31adc61b09.zip
ZeroconfBonjour: fix OnSocketReady() return type
Diffstat (limited to '')
-rw-r--r--src/ZeroconfBonjour.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ZeroconfBonjour.cxx b/src/ZeroconfBonjour.cxx
index ac58a83e0..959c90242 100644
--- a/src/ZeroconfBonjour.cxx
+++ b/src/ZeroconfBonjour.cxx
@@ -47,8 +47,9 @@ public:
}
protected:
- virtual void OnSocketReady(gcc_unused unsigned flags) override {
+ virtual bool OnSocketReady(gcc_unused unsigned flags) override {
DNSServiceProcessResult(service_ref);
+ return false;
}
};