Parent: 85a2f90d5829b68514058dbd520395a506b8c87c
Author: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:18
Tree: 59c105cb8c32a3e6c4daea93f1be4d77a00faafa
obexd: Fix mimetype driver match when service has .who In situation such as pcsuite service driver which has .who we need to fallback to an empty one otherwise it will not be possible to reuse drivers such as capability which doesn't need a specific version in this case. The order is now: who specific: who not NULL, target not NULL and mimetype not NULL non-who/mimetype specific: target not NULL and mimetype not NULL target default: target not NULL general default: target is NULL aka Highlander - there can be only one
Diffstat
| M | obexd/src/mimetype.c | | | 31 | +++++++++++++++++++++++++++++- - |
| M | obexd/src/obex.c | | | 50 | ++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 files changed, 49 insertions(+), 32 deletions(-)