High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 316:98e58b0c4441, committed 2015-03-13
- Comitter:
- rgrover1
- Date:
- Fri Mar 13 09:57:57 2015 +0000
- Parent:
- 315:943225af2cf4
- Child:
- 317:50643fab3ecf
- Commit message:
- Synchronized with git rev 6f0d2168
Author: Rohit Grover
URIBeaconConfig::encodeURI: remove check for suffixlen == 0; un-necessary.
Changed in this revision
services/URIBeaconConfigService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/URIBeaconConfigService.h Fri Mar 13 09:57:57 2015 +0000 +++ b/services/URIBeaconConfigService.h Fri Mar 13 09:57:57 2015 +0000 @@ -428,10 +428,6 @@ unsigned i; for (i = 0; i < NUM_SUFFIXES; i++) { size_t suffixLen = strlen(suffixes[i]); - if (suffixLen == 0) { - continue; - } - if (strncmp(uriDataIn, suffixes[i], suffixLen) == 0) { uriDataOut[sizeofURIDataOut++] = i; uriDataIn += suffixLen;