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:
- 315:943225af2cf4
- Parent:
- 314:193908f2b13b
- Child:
- 316:98e58b0c4441
diff -r 193908f2b13b -r 943225af2cf4 services/URIBeaconConfigService.h
--- a/services/URIBeaconConfigService.h Mon Mar 09 16:23:55 2015 +0000
+++ b/services/URIBeaconConfigService.h Fri Mar 13 09:57:57 2015 +0000
@@ -393,7 +393,7 @@
"https://",
"urn:uuid:"
};
- const size_t NUM_PREFIXES = sizeof(prefixes) / sizeof(char *);
+ const size_t NUM_PREFIXES = sizeof(prefixes) / sizeof(char *);
for (unsigned i = 0; i < NUM_PREFIXES; i++) {
size_t prefixLen = strlen(prefixes[i]);
if (strncmp(uriDataIn, prefixes[i], prefixLen) == 0) {
@@ -433,8 +433,8 @@
}
if (strncmp(uriDataIn, suffixes[i], suffixLen) == 0) {
- uriDataOut[sizeofURIDataOut++] = i;
- uriDataIn += suffixLen;
+ uriDataOut[sizeofURIDataOut++] = i;
+ uriDataIn += suffixLen;
break; /* from the for loop for checking against suffixes */
}
}
