]> git.meshlink.io Git - catta/commitdiff
Warn the user about a failed service resolving
authorLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 15:55:04 +0000 (15:55 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Oct 2005 15:55:04 +0000 (15:55 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@772 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-howl/compat.c

index 3f44485430d3c53ffd6884d9026d77d098dcd927..f5415bf103b4dc579d8bbf2bf94c6b0c0ada1a15 100644 (file)
@@ -580,7 +580,12 @@ static void service_resolver_callback(
 
         case AVAHI_RESOLVER_FAILURE:
 
-            /* Apparently there is no way in HOWL to inform about failed resolving ... */
+            /* Apparently there is no way in HOWL to inform about failed resolvings ... */
+            
+            avahi_warn("A service failed to resolve in the HOWL compatiblity layer of Avahi which is used by '%s'. "
+                       "Since the HOWL API doesn't offer any means to inform the application about this, we have to ignore the failure. "
+                       "Please fix your application to use the native API of Avahi!",
+                       avahi_exe_name());
 
             break;
     }