summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/LinkLocal/AvahiDNSSDService.cpp')
-rw-r--r--Swiften/LinkLocal/AvahiDNSSDService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/LinkLocal/AvahiDNSSDService.cpp b/Swiften/LinkLocal/AvahiDNSSDService.cpp
index 62ea172..1dd5c28 100644
--- a/Swiften/LinkLocal/AvahiDNSSDService.cpp
+++ b/Swiften/LinkLocal/AvahiDNSSDService.cpp
@@ -23,7 +23,7 @@ void AvahiDNSSDService::start() {
static_cast<AvahiClientFlags>(0), NULL, this, &error); // TODO
if (!client) {
// TODO
- std::cerr << "Error 1" << std::endl;
+ std::cerr << "Avahi Error: " << avahi_strerror(error) << std::endl;
return;
}
@@ -33,7 +33,7 @@ void AvahiDNSSDService::start() {
handleServiceDiscoveredGlobal, this);
if (!serviceBrowser) {
// TODO
- std::cerr << "Error 2" << std::endl;
+ std::cerr << "Avahi Error: " << avahi_strerror(error) << std::endl;
return;
}