summaryrefslogtreecommitdiffstats
path: root/avahi-core/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/server.c')
-rw-r--r--avahi-core/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-core/server.c b/avahi-core/server.c
index 6c7c4e2..a149f0f 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -1215,6 +1215,7 @@ static void register_stuff(AvahiServer *s) {
register_browse_domain(s);
avahi_interface_monitor_update_rrs(s->monitor, 0);
+ assert(s->n_host_rr_pending > 0);
s->n_host_rr_pending --;
if (s->n_host_rr_pending == 0)