summaryrefslogtreecommitdiffstats
path: root/avahi-core/avahi-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/avahi-test.c')
-rw-r--r--avahi-core/avahi-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/avahi-test.c b/avahi-core/avahi-test.c
index 7f58676..db0d685 100644
--- a/avahi-core/avahi-test.c
+++ b/avahi-core/avahi-test.c
@@ -261,7 +261,7 @@ int main(int argc, char *argv[]) {
poll_api->timeout_new(poll_api, &tv, dump_timeout_callback, server);
avahi_elapse_time(&tv, 1000*60, 0);
- poll_api->timeout_new(poll_api, &tv, quit_timeout_callback, server);
+ poll_api->timeout_new(poll_api, &tv, quit_timeout_callback, simple_poll);
for (;;)
if (avahi_simple_poll_iterate(simple_poll, -1) != 0)