Don't output a warning when a p2p connection isn't available
authorMike Gorse <mgorse@suse.com>
Wed, 17 Oct 2012 14:38:11 +0000 (09:38 -0500)
committerMike Gorse <mgorse@suse.com>
Wed, 17 Oct 2012 14:38:11 +0000 (09:38 -0500)
atspi/atspi-misc.c

index f45cd76..4f09060 100644 (file)
@@ -160,7 +160,7 @@ handle_get_bus_address (DBusPendingCall *pending, void *user_data)
   if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_METHOD_RETURN)
   {
     if (dbus_message_get_args (reply, NULL, DBUS_TYPE_STRING, &address,
-                               DBUS_TYPE_INVALID))
+                               DBUS_TYPE_INVALID) && address [0])
     {
       DBusError error;
       DBusConnection *bus;