Host library for controlling a WiConnect enabled Wi-Fi module.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Diff: internal/network/NetworkInterface.cpp
- Revision:
- 1:6ec9998427ad
- Parent:
- 0:ea85c4bb5e1f
- Child:
- 2:05e20e184e7e
diff -r ea85c4bb5e1f -r 6ec9998427ad internal/network/NetworkInterface.cpp --- a/internal/network/NetworkInterface.cpp Mon Aug 11 09:58:24 2014 +0000 +++ b/internal/network/NetworkInterface.cpp Mon Aug 11 03:29:30 2014 -0700 @@ -456,7 +456,7 @@ { if(count < 5) { - const char *idx = strchr(strPtr, ':'); + char *idx = strchr(strPtr, ':'); if(idx == NULL) { return false; @@ -490,4 +490,3 @@ return ptr; } -