summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2009-07-25 08:31:40 +0000
committerMichael Albinus <michael.albinus@gmx.de>2009-07-25 08:31:40 +0000
commit51768bc824113d16e71d4b6e5e268dc0cec8ec1f (patch)
treeae5c8c64ec73f06089deb92ef1dd1aefe9ff6305
parent573794ef4280283d7a9df400aa9af52c72286120 (diff)
downloademacs-51768bc824113d16e71d4b6e5e268dc0cec8ec1f.tar.gz
* net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
instead of "IsNSSSupportAvailable". Avahi ought to work also when "IsNSSSupportAvailable" method is not available. Reported by Steve Youngs <steve@sxemacs.org>.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/net/zeroconf.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8faa47ed783..62f6c8e0c89 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2009-07-25 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
+ instead of "IsNSSSupportAvailable". Avahi ought to work also when
+ "IsNSSSupportAvailable" method is not available. Reported by
+ Steve Youngs <steve@sxemacs.org>.
+
2009-07-24 Kenichi Handa <handa@m17n.org>
* international/characters.el: Fix setting of category ?C, ?|, ?K,
diff --git a/lisp/net/zeroconf.el b/lisp/net/zeroconf.el
index 972ff88bb69..e6339776a65 100644
--- a/lisp/net/zeroconf.el
+++ b/lisp/net/zeroconf.el
@@ -482,7 +482,7 @@ DOMAIN is nil, the local domain is used."
(dbus-ping :system zeroconf-service-avahi)
(dbus-call-method
:system zeroconf-service-avahi zeroconf-path-avahi
- zeroconf-interface-avahi-server "IsNSSSupportAvailable"))
+ zeroconf-interface-avahi-server "GetVersionString"))
;; Reset all stored values.
(setq zeroconf-path-avahi-service-type-browser nil