summaryrefslogtreecommitdiffstats
path: root/avahi-client
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-25 22:20:37 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-25 22:20:37 +0000
commitc3575017e2137ef664e4735bd6f9ff1209653ef3 (patch)
tree975af5275fbba0ef9344671adf941f2a60f1968e /avahi-client
parentd2d2f82263bd1007b847324ec27236097bde1609 (diff)
* replace AF_UNSPEC by AVAHI_PROTO_UNSPEC in client-test.c
* remove some functions from the public API in avahi-common/{domain,address}.[ch] and move them into avahi-core/{domain-util,add-util}.[ch] * properly generate CNAME responses * add some more comments to server.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@871 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client')
-rw-r--r--avahi-client/client-test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/avahi-client/client-test.c b/avahi-client/client-test.c
index f9913e6..5c9c092 100644
--- a/avahi-client/client-test.c
+++ b/avahi-client/client-test.c
@@ -286,7 +286,7 @@ int main (int argc, char *argv[]) {
else
printf ("Successfully created hostname resolver object\n");
- aar = avahi_address_parse ("224.0.0.251", AF_UNSPEC, aar);
+ aar = avahi_address_parse ("224.0.0.251", AVAHI_PROTO_UNSPEC, aar);
if (aar == NULL) {
printf ("failed to create address object\n");
} else {
@@ -299,10 +299,8 @@ int main (int argc, char *argv[]) {
printf ("*** success, added address\n");
avahi_entry_group_commit (group2);
}
-
}
-
avahi_elapse_time(&tv, 8000, 0);
poll_api->timeout_new(poll_api, &tv, test_entry_group_reset, group);
avahi_elapse_time(&tv, 15000, 0);