Commit: 00f7eef8f2265af94dadc72da6dac7287ac3eea2
Parent: 0338eb46fb7b5b4b35bae0102c54f3e55dceffac
Author: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:08
Tree: dfcf9810b718133721a953f23b5f576a61966b39

obexd: Fix the response of PUT requests for PBAP When the plugin doesn't implement the put callback the default behaviour is to respond with the NOT_IMPLEMENTED code. Making the chkput callback return -EINVAL we force the response to be BAD_REQUEST which is what the PBAP spec mandates.

Diffstat

M obexd/plugins/pbap.c | 9 ++++++++-

1 files changed, 8 insertions(+), 1 deletions(-)

View Full Diff | Patch