summaryrefslogtreecommitdiffstats
path: root/avahi-core/avahi-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-07-16 20:14:34 +0000
committerLennart Poettering <lennart@poettering.net>2005-07-16 20:14:34 +0000
commit774b0629a3536eda0b560e092964cf94d6b742aa (patch)
tree7f0fa10f0488c5053c25053a5ab9402054af3fbe /avahi-core/avahi-test.c
parentb1e07e8d002b0078a3b56a22979f47bcccf73306 (diff)
* 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
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 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);