zeroconf/avahi/Poll: rename internal variables

This commit is contained in:
Max Kellermann 2021-02-22 15:01:00 +01:00
parent 87963685fb
commit 9b9522e3f5

View File

@ -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);
}