From 9da0241b9c1bf751605ba11fa6d4c75e34fe5f2b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 16 Oct 2005 01:04:07 +0000 Subject: * fix compat-howl to work with nautilus * make similar changes to compat-libdns_sd * implement sw_salt_lock()/sw_salt_unlock() in compt-howl * simple-watch: allows immediate rerunning of avahi_simple_poll_run() git-svn-id: file:///home/lennart/svn/public/avahi/trunk@787 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/simple-watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avahi-common') diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c index 6531fb7..2a15c5e 100644 --- a/avahi-common/simple-watch.c +++ b/avahi-common/simple-watch.c @@ -519,7 +519,7 @@ finish: int avahi_simple_poll_run(AvahiSimplePoll *s) { assert(s); - assert(s->state == STATE_PREPARED); + assert(s->state == STATE_PREPARED || s->state == STATE_FAILURE); s->state = STATE_RUNNING; -- cgit