diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2012-07-27 13:36:36 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2012-07-27 13:36:36 +0200 |
commit | 1e4be88cc192114695362edcffb7e31efe871983 (patch) | |
tree | 4bc67cac604e0b469608ffeb9e47e9babda1c6da /src/dbusbind.c | |
parent | 32770973be4d833eb33c277dad059cdb55217aaf (diff) | |
download | emacs-1e4be88cc192114695362edcffb7e31efe871983.tar.gz |
Fix type comparison error.
Diffstat (limited to 'src/dbusbind.c')
-rw-r--r-- | src/dbusbind.c | 5 |
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; \ } \ \ |