diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-22 18:17:04 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-22 18:17:04 (GMT) |
commit | c4660f404c9a0dbf1c00a20baacfc738d93eaff5 (patch) | |
tree | 33d8532adaa535786f7e7910e334118f927f204f /Swiften/LinkLocal/AvahiDNSSDService.cpp | |
parent | 3b7107fb14663c4e83d4829c6ddec7af84c796bb (diff) | |
download | swift-contrib-c4660f404c9a0dbf1c00a20baacfc738d93eaff5.zip swift-contrib-c4660f404c9a0dbf1c00a20baacfc738d93eaff5.tar.bz2 |
Add Avahi detection in configure script.
Diffstat (limited to 'Swiften/LinkLocal/AvahiDNSSDService.cpp')
-rw-r--r-- | Swiften/LinkLocal/AvahiDNSSDService.cpp | 4 |
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; } |