Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more
Revision 15:d446b73a913d, committed 2016-05-23
- Comitter:
- AzureIoTClient
- Date:
- Mon May 23 07:35:02 2016 -0700
- Parent:
- 14:8e8e42008807
- Child:
- 16:a49121e2300b
- Commit message:
- 1.0.7
Changed in this revision
| iothubtransportamqp.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/iothubtransportamqp.c Mon May 09 14:36:31 2016 -0700
+++ b/iothubtransportamqp.c Mon May 23 07:35:02 2016 -0700
@@ -325,7 +325,7 @@
int return_value;
PROPERTIES_HANDLE uamqp_message_properties;
AMQP_VALUE uamqp_message_property;
- char* uamqp_message_property_value;
+ const char* uamqp_message_property_value;
int api_call_result;
/* Codes_SRS_IOTHUBTRANSPORTAMQP_09_155: [uAMQP message properties shall be retrieved using message_get_properties.] */
@@ -398,7 +398,7 @@
{
int result;
AMQP_VALUE uamqp_app_properties;
- int property_count;
+ uint32_t property_count;
MAP_HANDLE iothub_message_properties_map;
// Codes_SRS_IOTHUBTRANSPORTAMQP_09_170: [The IOTHUB_MESSAGE_HANDLE properties shall be retrieved using IoTHubMessage_Properties.]
@@ -442,8 +442,8 @@
{
AMQP_VALUE map_key_name;
AMQP_VALUE map_key_value;
- char *key_name;
- char* key_value;
+ const char *key_name;
+ const char* key_value;
// Codes_SRS_IOTHUBTRANSPORTAMQP_09_178: [The uAMQP application property name and value shall be obtained using amqpvalue_get_map_key_value_pair.]
if ((result = amqpvalue_get_map_key_value_pair(uamqp_app_properties, i, &map_key_name, &map_key_value)) != 0)
