abc

Fork of BLE_API by Bluetooth Low Energy

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;