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

obexd: Return empty list for vcardlisting on empty phonebook This change is needed to be consistent with scenario about pulling empty phonebook. Previously NOT_FOUND error was returned for vcardlisting when there were no entries in selected phonebook. 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 | 10 +- - - - - - - - -

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

View Full Diff | Patch