diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-17 00:20:33 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-17 00:20:33 +0000 |
commit | 41f2725b37437a585ce285051bdae06f4919dc3b (patch) | |
tree | 1820274ac232dd46b907f98e9119be04eba43feb /avahi-core/avahi-test.c | |
parent | 58ca874e460691615b131ad8692165a12f14bd09 (diff) |
* 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
Diffstat (limited to 'avahi-core/avahi-test.c')
-rw-r--r-- | avahi-core/avahi-test.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |