From 9b9522e3f551a22c7cdd36fcbacfeba2d6b4d7b8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Feb 2021 15:01:00 +0100 Subject: [PATCH] zeroconf/avahi/Poll: rename internal variables --- src/zeroconf/avahi/Poll.cxx | 8 ++++---- 1 file 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); }