avahi: Explicitly handle AVAHI_BROWSER_REMOVE events
commitaaba1daa2683a403ab4adefffa1abd59f9339d2b
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 19 Jan 2019 21:41:11 +0000 (19 22:41 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 21 Jan 2019 13:31:40 +0000 (21 14:31 +0100)
tree284c1845d59fd58c56b07b0ab95f32f5b70ac36c
parentb72f28f0599d341aea43c427364b252732320f83
avahi: Explicitly handle AVAHI_BROWSER_REMOVE events

name is only set for AVAHI_BROWSER_NEW and AVAHI_BROWSER_REMOVE. Explicitly
check for REMOVE instead of deducing the event type from the name being
set.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/services_discovery/avahi.c