From 1e4be88cc192114695362edcffb7e31efe871983 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 27 Jul 2012 13:36:36 +0200 Subject: [PATCH] Fix type comparison error. --- src/dbusbind.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; \ } \ \ -- 2.39.2