diff options
author | Max Kellermann <max@musicpd.org> | 2021-02-22 15:01:00 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-02-22 15:01:01 +0100 |
commit | 9b9522e3f551a22c7cdd36fcbacfeba2d6b4d7b8 (patch) | |
tree | ef06ca7c031f20f5a2eae6372dc8d8a1ea11c3c1 /src | |
parent | 87963685fb5a6193d0f7f042c5a1195ca79c5d7f (diff) |
zeroconf/avahi/Poll: rename internal variables
Diffstat (limited to 'src')
-rw-r--r-- | src/zeroconf/avahi/Poll.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zeroconf/avahi/Poll.cxx b/src/zeroconf/avahi/Poll.cxx index 969b7eeea..073019c28 100644 --- a/src/zeroconf/avahi/Poll.cxx +++ b/src/zeroconf/avahi/Poll.cxx @@ -56,8 +56,8 @@ public: } static void WatchUpdate(AvahiWatch *w, - AvahiWatchEvent event) noexcept { - w->event.Schedule(FromAvahiWatchEvent(event)); + AvahiWatchEvent _event) noexcept { + w->event.Schedule(FromAvahiWatchEvent(_event)); } static AvahiWatchEvent WatchGetEvents(AvahiWatch *w) noexcept { @@ -69,8 +69,8 @@ public: } private: - void OnSocketReady(unsigned flags) noexcept { - received = ToAvahiWatchEvent(flags); + void OnSocketReady(unsigned events) noexcept { + received = ToAvahiWatchEvent(events); callback(this, event.GetSocket().Get(), received, userdata); received = AvahiWatchEvent(0); } |