diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-23 23:01:13 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-23 23:01:13 +0000 |
commit | 7d45167a88dceefc521bf94a618f29bfc1886932 (patch) | |
tree | 829e1cf17672149c22692b15391b440d91fd7ab5 /avahi-common/domain-test.c | |
parent | cd1f745f940537806dac843080b7ebfb8b85c067 (diff) |
* gcc 2.95 compatibility
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@849 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/domain-test.c')
-rw-r--r-- | avahi-common/domain-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-common/domain-test.c b/avahi-common/domain-test.c index 279be72..9926a1f 100644 --- a/avahi-common/domain-test.c +++ b/avahi-common/domain-test.c @@ -58,13 +58,13 @@ int main(int argc, char *argv[]) { printf("%u = %u\n", avahi_domain_hash("ccc\\065aa.aa\\.b\\\\."), avahi_domain_hash("cccAaa.aa\\.b\\\\")); - avahi_service_name_join(t, sizeof(t), "foo.foo.foo \.", "_http._tcp", "test.local"); + avahi_service_name_join(t, sizeof(t), "foo.foo.foo \\.", "_http._tcp", "test.local"); printf("<%s>\n", t); avahi_service_name_split(t, name, sizeof(name), type, sizeof(type), domain, sizeof(domain)); printf("name: <%s>; type: <%s>; domain <%s>\n", name, type, domain); - avahi_service_name_join(t, sizeof(t), NULL, "_http._tcp", "one.two\. .local"); + avahi_service_name_join(t, sizeof(t), NULL, "_http._tcp", "one.two\\. .local"); printf("<%s>\n", t); avahi_service_name_split(t, NULL, 0, type, sizeof(type), domain, sizeof(domain)); |