From: Michael Albinus Date: Fri, 27 Jul 2012 11:36:36 +0000 (+0200) Subject: Fix type comparison error. X-Git-Tag: emacs-24.2.90~1054 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e4be88cc192114695362edcffb7e31efe871983;p=emacs.git Fix type comparison error. --- diff --git a/src/dbusbind.c b/src/dbusbind.c index 06f47643bbf..93388d4b24a 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -274,8 +274,9 @@ xd_symbol_to_dbus_type (Lisp_Object object) dbus_error_free (&derror); \ dbus_address_entries_free (entries); \ /* Canonicalize session bus address. */ \ - if (session_bus_address != NULL \ - && Fstring_equal (bus, build_string (session_bus_address))) \ + if ((session_bus_address != NULL) \ + && (!NILP (Fstring_equal \ + (bus, build_string (session_bus_address))))) \ bus = QCdbus_session_bus; \ } \ \