Parent: 606f56714d1a4da4405163b23b71fc9abe9aac45
Author: Johan Hedberg <johan.hedberg@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:01
Tree: da489f916682e110a4769caae58e0542e734d5fe
obexd: Give more accurate error returns to OBEX Get operations Previously obexd would always return "forbidden" to failed get operations. Now we at least return "not found" in the case of ENOENT and more specific errors can easily be added to the new switch statement in ftp_get().
Diffstat
| M | obexd/src/ftp.c | | | 53 | +++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - |
| M | obexd/src/obex.c | | | 9 | +++++- - - - |
| M | obexd/src/obex.h | | | 2 | +- |
| M | obexd/src/opp.c | | | 2 | +- |
4 files changed, 38 insertions(+), 28 deletions(-)