emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109235: Fix type comparison error.


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109235: Fix type comparison error.
Date: Fri, 27 Jul 2012 13:36:36 +0200
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109235
committer: Michael Albinus <address@hidden
branch nick: trunk
timestamp: Fri 2012-07-27 13:36:36 +0200
message:
  Fix type comparison error.
modified:
  src/dbusbind.c
=== modified file 'src/dbusbind.c'
--- a/src/dbusbind.c    2012-07-27 10:46:58 +0000
+++ b/src/dbusbind.c    2012-07-27 11:36:36 +0000
@@ -274,8 +274,9 @@
        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;                                     \
       }                                                                        
\
                                                                        \


reply via email to

[Prev in Thread] Current Thread [Next in Thread]