From f3d66c3d13ca21275c80d16393d9fadd913c64ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jan 2006 20:32:46 +0000 Subject: small update-test debug output improvement git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1112 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/update-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avahi-core/update-test.c b/avahi-core/update-test.c index 017397b..bdffc0c 100644 --- a/avahi-core/update-test.c +++ b/avahi-core/update-test.c @@ -61,6 +61,8 @@ static void modify_txt_callback(AVAHI_GCC_UNUSED AvahiTimeout *e, void *userdata int ret; AvahiServer *s = userdata; + avahi_log_debug("modifying"); + ret = avahi_server_update_service_txt(s, group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "foo", "_http._tcp", NULL, "test2", NULL); assert(ret == AVAHI_OK); } @@ -84,7 +86,7 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) { assert(server); avahi_server_config_free(&config); - poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 1000*20, 0), modify_txt_callback, server); + poll_api->timeout_new(poll_api, avahi_elapse_time(&tv, 1000*10, 0), modify_txt_callback, server); avahi_simple_poll_loop(simple_poll); } -- cgit