summaryrefslogtreecommitdiffstats
path: root/avahi-common
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-16 01:04:07 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-16 01:04:07 +0000
commit9da0241b9c1bf751605ba11fa6d4c75e34fe5f2b (patch)
tree9d0369dc720ccef3585a7128094dd615e7584a6f /avahi-common
parent10bb2c127df147851330f6c06ba38198829d15e9 (diff)
* 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
Diffstat (limited to 'avahi-common')
-rw-r--r--avahi-common/simple-watch.c2
1 files changed, 1 insertions, 1 deletions
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;