Commit: 7fdf709d14347f6e937d5c0f97ee6c0f5958b30d
Parent: a7100576de83c5edeb9883861e5185c2e02398bb
Author: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:12
Tree: 38d693ac7e72092dc96cc17a48bdcebe4e381648

obexd: simplify the finding of a service We can use memcmp0() when searching for a specific attribute without worrying about NULL pointers.

Diffstat

M obexd/src/mimetype.c | 12 - - - - - - - - - - - -
M obexd/src/obex.c | 11 +++++++++++
M obexd/src/obex.h | 3 +++
M obexd/src/service.c | 11 ++- - - - - - - - -

4 files changed, 16 insertions(+), 21 deletions(-)

View Full Diff | Patch