A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
7:9e9ab3b0efef
Parent:
6:641a9672db08
Child:
9:c22db038556c
diff -r 641a9672db08 -r 9e9ab3b0efef connection.c
--- a/connection.c	Fri Jul 29 15:58:39 2016 -0700
+++ b/connection.c	Fri Aug 12 10:04:13 2016 -0700
@@ -182,6 +182,7 @@
     return result;
 }
 
+#ifndef NO_LOGGING
 static void log_incoming_frame(AMQP_VALUE performative)
 {
     AMQP_VALUE descriptor = amqpvalue_get_inplace_descriptor(performative);
@@ -213,6 +214,7 @@
         }
     }
 }
+#endif
 
 static void on_bytes_encoded(void* context, const unsigned char* bytes, size_t length, bool encode_complete)
 {