summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-core/update-test.c4
1 files changed, 3 insertions, 1 deletions
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);
}