summaryrefslogtreecommitdiff
path: root/src/dbusbind.c
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2012-07-27 13:36:36 +0200
committerMichael Albinus <michael.albinus@gmx.de>2012-07-27 13:36:36 +0200
commit1e4be88cc192114695362edcffb7e31efe871983 (patch)
tree4bc67cac604e0b469608ffeb9e47e9babda1c6da /src/dbusbind.c
parent32770973be4d833eb33c277dad059cdb55217aaf (diff)
downloademacs-1e4be88cc192114695362edcffb7e31efe871983.tar.gz
Fix type comparison error.
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r--src/dbusbind.c5
1 files 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; \
} \
\