Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: services/URIBeaconConfigService.h
- Revision:
- 316:98e58b0c4441
- Parent:
- 315:943225af2cf4
- Child:
- 317:50643fab3ecf
diff -r 943225af2cf4 -r 98e58b0c4441 services/URIBeaconConfigService.h
--- 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;
