From 41f2725b37437a585ce285051bdae06f4919dc3b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Oct 2005 00:20:33 +0000 Subject: * implement record updating through the new flags AVAHI_PUBLISH_UPDATE * add new helper function avahi_server_update_service_txt() to ease TXT record updating for services * other minor cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@790 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/avahi-test.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'avahi-core/avahi-test.c') diff --git a/avahi-core/avahi-test.c b/avahi-core/avahi-test.c index 46e68d5..cf8bd3b 100644 --- a/avahi-core/avahi-test.c +++ b/avahi-core/avahi-test.c @@ -361,9 +361,7 @@ int main(int argc, char *argv[]) { avahi_elapse_time(&tv, 1000*60, 0); poll_api->timeout_new(poll_api, &tv, quit_timeout_callback, simple_poll); - for (;;) - if (avahi_simple_poll_iterate(simple_poll, -1) != 0) - break; + avahi_simple_poll_loop(simple_poll); avahi_s_record_browser_free(r); avahi_s_host_name_resolver_free(hnr); -- cgit