dbus_connection_send_with_reply() shouldn't return TRUE on a disconnected connection
mzqohf at 0pointer.de
Fri Apr 17 14:46:22 PDT 2009
Currently dbus_connection_send_with_reply() returns TRUE when it is
tried to send a message on a disconnected connection. The only reason
I could see for this behaviour is that the documentation claims that
it would return FALSE only on OOM. But if you look closely you see
that the function might return FALSE on other non-OOM causes too.
What's the rationale behind this? Is ther any?
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the dbus