Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: string_tokenizer.c
- Revision:
- 25:8507bf644fdf
- Parent:
- 21:b92006c5b9ff
- Child:
- 48:81866008bba4
diff -r 96ae4d5375ef -r 8507bf644fdf string_tokenizer.c --- a/string_tokenizer.c Thu Apr 06 14:12:06 2017 -0700 +++ b/string_tokenizer.c Fri Apr 21 14:51:10 2017 -0700 @@ -132,7 +132,7 @@ else { bool foundDelimitter = false; - char* endOfTokenPosition=NULL; + const char* endOfTokenPosition=NULL; size_t amountOfCharactersToCopy; size_t j; //At this point the Current Pos is pointing to a character that is point to a nonDelimiter. So, now search for a Delimiter, till the end of the String.