A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
6:641a9672db08
Parent:
0:6ae2f7bca550
Child:
15:5db103709f20
--- a/sasl_frame_codec.c	Fri Jul 01 10:42:48 2016 -0700
+++ b/sasl_frame_codec.c	Fri Jul 29 15:58:39 2016 -0700
@@ -264,7 +264,10 @@
 			}
 			else
 			{
-				PAYLOAD payload = { sasl_frame_bytes, 0 };
+				PAYLOAD payload;
+
+                payload.bytes = sasl_frame_bytes;
+                payload.length = 0;
 
 				if (amqpvalue_encode(sasl_frame_value, encode_bytes, &payload) != 0)
 				{