Azure IoT / iothub_http_transport

Dependents:   iothub_client_sample_http simplesample_http temp_sensor_anomaly

Files at this revision

API Documentation at this revision

Comitter:
AzureIoTClient
Date:
Fri Nov 03 13:17:23 2017 -0700
Parent:
32:4d4a226b072b
Child:
34:5aa0b7670697
Commit message:
1.1.27

Changed in this revision

iothubtransporthttp.c Show annotated file Show diff for this revision Revisions of this file
--- a/iothubtransporthttp.c	Fri Aug 25 11:22:14 2017 -0700
+++ b/iothubtransporthttp.c	Fri Nov 03 13:17:23 2017 -0700
@@ -268,7 +268,7 @@
     else
     {
         if (!(
-            (addUserAgentHeaderInfo(handleData->iotHubClientHandle, handleData->eventHTTPrequestHeaders) == HTTP_HEADERS_OK) &&
+            (addUserAgentHeaderInfo(handleData->iotHubClientHandle, handleData->messageHTTPrequestHeaders) == HTTP_HEADERS_OK) &&
             (is_x509_used || (HTTPHeaders_AddHeaderNameValuePair(handleData->messageHTTPrequestHeaders, "Authorization", " ") == HTTP_HEADERS_OK))
             ))
         {