A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
Diff: sasl_anonymous.c
- Revision:
- 19:000ab4e6a2c1
- Parent:
- 17:923575db8b2d
- Child:
- 20:206846c14c80
--- a/sasl_anonymous.c Fri Feb 10 17:00:55 2017 -0800 +++ b/sasl_anonymous.c Fri Feb 24 14:00:58 2017 -0800 @@ -5,6 +5,7 @@ #include <string.h> #include "azure_uamqp_c/sasl_anonymous.h" #include "azure_uamqp_c/amqpalloc.h" +#include "azure_c_shared_utility/optimize_size.h" #include "azure_c_shared_utility/xlogging.h" typedef struct SASL_ANONYMOUS_INSTANCE_TAG @@ -50,7 +51,7 @@ if ((sasl_mechanism_concrete_handle == NULL) || (init_bytes == NULL)) { - result = __LINE__; + result = __FAILURE__; } else { @@ -94,7 +95,7 @@ if ((concrete_sasl_mechanism == NULL) || (response_bytes == NULL)) { - result = __LINE__; + result = __FAILURE__; } else {