The exchange_credentials function calls a couple of functions from dbus-sysdeps
that do some work on the provided socket. These functions are passed a NULL
value in the DBusError parameter, thus not reporting any error to the parent.
While working on the credentials code, I have found it very useful if these two
error messages were available as debugging messages when DBUS_VERBOSE is
enabled. I've also added another verbose message at the beginning of the function.
I'm sending these here in case you find them useful too and can be added to the
Created attachment 6726 [details] [review]
Committed with some changes. The file is now dbus-transport-sockets.c and the
second dbus_error_init shouldn't be there. Thanks.
on Dec 06, 2016 at 05:44:18.
(provided by the Example extension).