Commit: f97adf23c03fc0e9f203de3ffd93c1f5ed48d10d
Parent: 556af3525cadbce34392d639557d91b82433b79a
Author: Santiago Carot-Nemesio <sancane@gmail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-02-03 20:47:18
Tree: edf2f936326205bd1cb12d04ecba94d864e17268

gatt-example: Fix g_assert checks when an uint16_t value overflows g_assert statements are buggy when the last handler available overflows the uint16_t range. This check is currently used to evaluate if the number of requested attributes for a sevice match with the number of attributes added in the data base.

Diffstat

M plugins/gatt-example.c | 21 ++++++++++- - - - - - - - - - -

1 files changed, 10 insertions(+), 11 deletions(-)

View Full Diff | Patch