Commit: 365a597557e3d368b69f84aaeb4b020f299fea20
Parent: f493c77f9ac37cf17b2206a02cb9192bfa1394b5
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2012-12-21 17:23:22
Tree: 96b33a68e58102ce00f2cecbc8be58cf146d8de8

core: Fix being able to register the same custom property multiple times btd_profile_add_custom_prop should check if the a property with the same name already exists, in addition to that btd_profile_add_custom_prop now returns a boolean indicating the success or failure of the operation.

Diffstat

M src/profile.c | 45 +++++++++++++++++++++++++++++++- - - - - - - - - - - - - -
M src/profile.h | 2 +-

2 files changed, 32 insertions(+), 15 deletions(-)

View Full Diff | Patch