Changeset 53874 in vbox
- Timestamp:
- Jan 20, 2015 6:47:06 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r53764 r53874 598 598 DBusConnection *pConnection = NULL; 599 599 int rc2 = RTDBusLoadLib(); 600 bool fHaveLibDbus = false; 600 601 if (RT_SUCCESS(rc2)) 601 602 { 602 603 /* Handle desktop sessions using ConsoleKit. */ 603 604 VBoxServiceVerbose(4, "Checking ConsoleKit sessions ...\n"); 604 605 fHaveLibDbus = true; 605 606 dbus_error_init(&dbErr); 606 607 pConnection = dbus_bus_get(DBUS_BUS_SYSTEM, &dbErr); … … 792 793 s_iBitchedAboutDBus++; 793 794 VBoxServiceError("Unable to connect to system D-Bus (%d/3): %s\n", s_iBitchedAboutDBus, 794 pConnection&& dbus_error_is_set(&dbErr) ? dbErr.message : "D-Bus not installed");795 } 796 } 797 798 if ( pConnection795 fHaveLibDbus && dbus_error_is_set(&dbErr) ? dbErr.message : "D-Bus not installed"); 796 } 797 } 798 799 if ( fHaveLibDbus 799 800 && dbus_error_is_set(&dbErr)) 800 801 dbus_error_free(&dbErr);
Note:
See TracChangeset
for help on using the changeset viewer.