From 774b0629a3536eda0b560e092964cf94d6b742aa Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 16 Jul 2005 20:14:34 +0000 Subject: * hide some more files * make sure not to run a time event twice in the same main loop iteration * add new test timeeventq-test git-svn-id: file:///home/lennart/svn/public/avahi/trunk@167 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/avahi-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avahi-core/avahi-test.c') diff --git a/avahi-core/avahi-test.c b/avahi-core/avahi-test.c index 9bd4e2c..61d3ea1 100644 --- a/avahi-core/avahi-test.c +++ b/avahi-core/avahi-test.c @@ -235,11 +235,11 @@ int main(int argc, char *argv[]) { dsb = avahi_dns_server_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "local", AVAHI_DNS_SERVER_RESOLVE, AVAHI_PROTO_UNSPEC, dsb_callback, NULL); - loop = g_main_loop_new(NULL, FALSE); g_timeout_add(1000*5, dump_timeout, server); g_timeout_add(1000*60, quit_timeout, loop); + loop = g_main_loop_new(NULL, FALSE); g_main_loop_run(loop); g_main_loop_unref(loop); -- cgit