Parent: 9e1e47425e1eea7f6300a653fae62ce8ca435eca
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:22:05
Tree: 882afc22d50e6ba318bddfe5588947c005ad293e
gobex: Translate posix error code to proper OBEX response opcode This patch create a map between posix errors code and OBEX response opcode and use it to generate a proper response in case a transfer failed instead of always responding with internal error.
Diffstat
| M | gobex/gobex-transfer.c | | | 6 | ++++- - |
| M | gobex/gobex.c | | | 24 | ++++++++++++++++++++++++ |
| M | gobex/gobex.h | | | 1 | + |
3 files changed, 29 insertions(+), 2 deletions(-)