From c3575017e2137ef664e4735bd6f9ff1209653ef3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Oct 2005 22:20:37 +0000 Subject: * 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 --- avahi-common/domain-test.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'avahi-common/domain-test.c') diff --git a/avahi-common/domain-test.c b/avahi-common/domain-test.c index 9926a1f..b765532 100644 --- a/avahi-common/domain-test.c +++ b/avahi-common/domain-test.c @@ -37,9 +37,6 @@ int main(int argc, char *argv[]) { size_t size; char name[64], type[AVAHI_DOMAIN_NAME_MAX], domain[AVAHI_DOMAIN_NAME_MAX]; - printf("host name: %s\n", s = avahi_get_host_name_strdup()); - avahi_free(s); - printf("%s\n", s = avahi_normalize_name_strdup("foo.foo\\046.")); avahi_free(s); @@ -82,8 +79,6 @@ int main(int argc, char *argv[]) { p = r; printf("unescaped: <%s>\n", avahi_unescape_label(&p, t, sizeof(t))); - assert(avahi_domain_ends_with("foo.bar.\\065\\\\\\.aaaa", "\\065\\\\\\.aaaa")); - assert(avahi_is_valid_service_type_generic("_foo._bar._waldo")); assert(!avahi_is_valid_service_type_strict("_foo._bar._waldo")); assert(!avahi_is_valid_service_subtype("_foo._bar._waldo")); -- cgit