Re: dbus_bus_get_private return NULL but with no error set
prashantkumar dhotre <[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <CA+VDgmO2RV4iM2PO0QeEHwVQgFitaqvDeFXPbJR1FSoXEjqCzg@mail.gmail.com> |
I dont think any issues is there in my code below:
DBusError error;
dbus_error_init(&error);
conn = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error);
if (conn == NULL) {
ERROR("Failed to open connection to system bus\n");
if (dbus_error_is_set (&error)) {
ERROR("dbus_bus_get_private() failed with error: %s\n", error.message);
}
assert(0);
}
On Mon, Apr 24, 2017 at 7:23 PM, Thiago Macieira <[email protected]> wrote:
> Em segunda-feira, 24 de abril de 2017, às 05:45:12 -03, prashantkumar dhotre
> escreveu:
>> Hi
>> I am using 1.8.10 version.
>> I see that dbus_bus_get_private return NULL but with no error set in passed
>> DBusError error.
>> Is this a known bug ? Fixed in any later releases ?
>
> It's not a known bug and therefore there has been no action to fix anything.
>
> Most likely, the bug is in your code.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> dbus mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dbus
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus