]> git.meshlink.io Git - catta/blobdiff - avahi-core/browse-service-type.c
* implement hashmap
[catta] / avahi-core / browse-service-type.c
index e769e91947558412d8d3ee74e47791edce2f6ef0..61364e9704f6dc8653aec745f59aa78da1b85959 100644 (file)
@@ -90,7 +90,7 @@ AvahiServiceTypeBrowser *avahi_service_type_browser_new(AvahiServer *server, gin
     g_assert(server);
     g_assert(callback);
 
-    if (domain && !avahi_valid_domain_name(domain)) {
+    if (domain && !avahi_is_valid_domain_name(domain)) {
         avahi_server_set_errno(server, AVAHI_ERR_INVALID_DOMAIN_NAME);
         return NULL;
     }