A small memory footprint AMQP implimentation

Dependents:   iothub_client_sample_amqp remote_monitoring simplesample_amqp

Revision:
1:eab586236bfe
Parent:
0:6ae2f7bca550
Child:
2:64b4feb67cd3
--- a/message_sender.c	Fri Apr 08 12:01:10 2016 -0700
+++ b/message_sender.c	Sun Apr 24 16:40:31 2016 -0700
@@ -455,6 +455,12 @@
             set_message_sender_state(message_sender_instance, MESSAGE_SENDER_STATE_ERROR);
         }
         break;
+	case LINK_STATE_ERROR:
+		if (message_sender_instance->message_sender_state != MESSAGE_SENDER_STATE_ERROR)
+		{
+			set_message_sender_state(message_sender_instance, MESSAGE_SENDER_STATE_ERROR);
+		}
+		break;
 	}
 }