summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-22 18:17:04 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-22 18:17:04 (GMT)
commitc4660f404c9a0dbf1c00a20baacfc738d93eaff5 (patch)
tree33d8532adaa535786f7e7910e334118f927f204f /Swiften/LinkLocal
parent3b7107fb14663c4e83d4829c6ddec7af84c796bb (diff)
downloadswift-contrib-c4660f404c9a0dbf1c00a20baacfc738d93eaff5.zip
swift-contrib-c4660f404c9a0dbf1c00a20baacfc738d93eaff5.tar.bz2
Add Avahi detection in configure script.
Diffstat (limited to 'Swiften/LinkLocal')
-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;
}