Parent: 8a68d3c4b804b26c94b8d025c721a45cff49f82f
Author: Slawomir Bochenski <lkslawek@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:39
Tree: 46666e45ae6066df0efe124bea68a8247cf172a9
obexd: Do not send empty vCard attributes PBAP specification v1.1, chap. 5.1.4.1 and 5.4.4.1 states that non-mandatory attributes shall be sent only when their value is not NULL. In case of vCards this can be simply understood as non-empty, therefore the patch makes phonebook_add_contact add only mandatory attributes for specified vCard version as well as those for which values are of non-zero length.
Diffstat
| M | obexd/plugins/vcard.c | | | 31 | +++++++++- - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 9 insertions(+), 22 deletions(-)