summaryrefslogtreecommitdiffstats
path: root/avahi-compat-howl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-15 15:55:04 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-15 15:55:04 +0000
commit76bbc91a5d2f151430bf7ecc3328e0147e60c346 (patch)
treeedb57f2a47a3a467af7eaeffca2892fa3300bc47 /avahi-compat-howl
parented53b44066cd85dd8fc3ed4e8a4c52ae8de365f4 (diff)
Warn the user about a failed service resolving
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@772 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-compat-howl')
-rw-r--r--avahi-compat-howl/compat.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/avahi-compat-howl/compat.c b/avahi-compat-howl/compat.c
index 3f44485..f5415bf 100644
--- a/avahi-compat-howl/compat.c
+++ b/avahi-compat-howl/compat.c
@@ -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;
}