evolution/bnc-173186.patch

14 lines
478 B
Diff

=== modified file 'shell/e-shell-nm.c'
--- shell/e-shell-nm.c 2007-12-18 20:30:19 +0000
+++ shell/e-shell-nm.c 2007-12-18 20:42:48 +0000
@@ -83,7 +83,7 @@
object = dbus_message_get_path (message);
if (dbus_message_is_signal (message, DBUS_INTERFACE_LOCAL, "Disconnected") &&
- strcmp (dbus_message_get_path (message), DBUS_PATH_LOCAL) == 0) {
+ object && !strcmp (object, DBUS_PATH_LOCAL)) {
dbus_connection_unref (dbus_connection);
dbus_connection = NULL;