From fc260d3d4a1991ef2affddd2b483436f6faae232 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 13 Sep 2005 22:37:06 +0000 Subject: [PATCH] fix for threading simple polls git-svn-id: file:///home/lennart/svn/public/avahi/trunk@577 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/simple-watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avahi-common/simple-watch.c b/avahi-common/simple-watch.c index 4bb763a..fde41e4 100644 --- a/avahi-common/simple-watch.c +++ b/avahi-common/simple-watch.c @@ -430,7 +430,7 @@ int avahi_simple_poll_iterate(AvahiSimplePoll *s, int timeout) { s->events_valid = 1; /* Check whether the wakeup time has been reached now */ - if (next_timeout) { + if ((next_timeout = find_next_timeout(s))) { struct timeval now; gettimeofday(&now, NULL); -- 2.39.5