diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-12 21:01:28 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-12 21:01:28 +0000 |
commit | 6e35536bddb52c8e6bc201265c77a846d879b5a3 (patch) | |
tree | f00a3475d91759f1fe3d36df2757cc8f230e9234 /avahi-core/resolve-service.c | |
parent | 5d047523c87ba11aad8c384f7ffde25b4dd746ed (diff) |
* implement hashmap
* de-glib-ify rr.[ch], rrlist.[ch]
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@306 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/resolve-service.c')
-rw-r--r-- | avahi-core/resolve-service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-core/resolve-service.c b/avahi-core/resolve-service.c index 0e4e119..9a142ae 100644 --- a/avahi-core/resolve-service.c +++ b/avahi-core/resolve-service.c @@ -207,17 +207,17 @@ AvahiServiceResolver *avahi_service_resolver_new(AvahiServer *server, AvahiIfInd g_assert(aprotocol == AVAHI_PROTO_UNSPEC || aprotocol == AVAHI_PROTO_INET || aprotocol == AVAHI_PROTO_INET6); - if (!avahi_valid_service_name(name)) { + if (!avahi_is_valid_service_name(name)) { avahi_server_set_errno(server, AVAHI_ERR_INVALID_SERVICE_NAME); return NULL; } - if (!avahi_valid_service_type(type)) { + if (!avahi_is_valid_service_type(type)) { avahi_server_set_errno(server, AVAHI_ERR_INVALID_SERVICE_TYPE); return NULL; } - if (!avahi_valid_domain_name(domain)) { + if (!avahi_is_valid_domain_name(domain)) { avahi_server_set_errno(server, AVAHI_ERR_INVALID_DOMAIN_NAME); return NULL; } |