diff options
author | Don Zickus <dzickus@redhat.com> | 2016-06-30 17:01:29 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-07-04 14:33:53 +0300 |
commit | 03f0497691537681a75fe498a6ca97e3f9dfbb64 (patch) | |
tree | 2f94ea899a3e26ff5573f9ed57bd096a03744145 /obexd | |
parent | 6c75f43e50d754b4605498a8a68d2be4bc19ee37 (diff) | |
download | bluez-03f0497691537681a75fe498a6ca97e3f9dfbb64.tar.gz |
obexd: Add a detailed failure message for exchanging business cards
When sending the ExchangeBusinessCards() command, the command returns
a failure. It isn't clear what that failure is. Upon looking through
the code, it is obvious the function is not implemented.
This patch just adds an extra detail message 'Not Implemented' to make
the failure a little more clear about what the problem is.
Diffstat (limited to 'obexd')
-rw-r--r-- | obexd/client/opp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/obexd/client/opp.c b/obexd/client/opp.c index 3c2801a5a..92785f66e 100644 --- a/obexd/client/opp.c +++ b/obexd/client/opp.c @@ -117,7 +117,8 @@ fail: static DBusMessage *opp_exchange_business_cards(DBusConnection *connection, DBusMessage *message, void *user_data) { - return g_dbus_create_error(message, ERROR_INTERFACE ".Failed", NULL); + return g_dbus_create_error(message, ERROR_INTERFACE ".Failed", + "Not Implemented"); } static const GDBusMethodTable opp_methods[] = { |