A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
17:923575db8b2d
Parent:
12:b30dacf113f2
Child:
19:000ab4e6a2c1
--- a/message.c	Fri Jan 13 18:40:42 2017 -0800
+++ b/message.c	Tue Jan 24 15:23:52 2017 -0800
@@ -2,9 +2,6 @@
 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
 #include <stdlib.h>
-#ifdef _CRTDBG_MAP_ALLOC
-#include <crtdbg.h>
-#endif
 #include <string.h>
 #include "azure_uamqp_c/message.h"
 #include "azure_uamqp_c/amqpvalue.h"
@@ -715,8 +712,8 @@
 
 	MESSAGE_INSTANCE* message_instance = (MESSAGE_INSTANCE*)message;
 	if ((message == NULL) ||
-		(binary_data.bytes == NULL) &&
-		(binary_data.length != 0))
+		((binary_data.bytes == NULL) &&
+		 (binary_data.length != 0)))
 	{
 		result = __LINE__;
 	}