Commit: f49508460508b6d85a254846793d22ee27e0f167
Parent: d8d19199e87b4619e0599e56dd66cfdffc6e7496
Author: Rafal Michalski <michalski.raf@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:38
Tree: 7a9cededf61877f1bdbec52bd8e7ffc65a61d203

obexd: Return empty body instead -ENOENT when phonebook is empty Previously, when doing pull of empty phonebook, NOT FOUND error was returned. Now returning empty body - this change is needed to pass PTS testcase TC_PSE_PDF_BV_05_I (this testcase is optional). PBAP spec says, that error NOT_FOUND should be returned when phonebook object could not be found - very strict clients may think that phonebook does not exist (and in scenario described above phonebook exists but its content is empty).

Diffstat

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

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

View Full Diff | Patch