Azure IoT common library
Dependents: STM32F746_iothub_client_sample_mqtt f767zi_mqtt iothub_client_sample_amqp iothub_client_sample_http ... more
Diff: httpapiex.c
- Revision:
- 2:20b88da3e604
- Parent:
- 1:9190c0f4d23a
- Child:
- 6:c55b013dfc2a
diff -r 9190c0f4d23a -r 20b88da3e604 httpapiex.c --- a/httpapiex.c Sun Apr 24 16:41:14 2016 -0700 +++ b/httpapiex.c Mon May 09 14:37:45 2016 -0700 @@ -112,7 +112,7 @@ } else { - char temp[22]; + char temp[22] = { 0 }; (void)size_tToString(temp, 22, BUFFER_length(requestContent)); /*cannot fail, MAX_uint64 has 19 digits*/ /*Codes_SRS_HTTPAPIEX_02_011: [If parameter requestHttpHeadersHandle is not NULL then HTTPAPIEX_ExecuteRequest shall create or update the following headers of the request: Host:{hostname}