A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
Diff: sasl_frame_codec.c
- Revision:
- 16:22a72cf8e416
- Parent:
- 15:5db103709f20
- Child:
- 17:923575db8b2d
diff -r 5db103709f20 -r 22a72cf8e416 sasl_frame_codec.c --- a/sasl_frame_codec.c Sun Jan 08 11:12:13 2017 -0800 +++ b/sasl_frame_codec.c Fri Jan 13 18:40:42 2017 -0800 @@ -53,7 +53,7 @@ } else { - /* Codes_SRS_SASL_FRAME_CODEC_01_009: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides=“sasl-frame”.] */ + /* Codes_SRS_SASL_FRAME_CODEC_01_009: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides="sasl-frame".] */ if (!is_sasl_mechanisms_type_by_descriptor(descriptor) && !is_sasl_init_type_by_descriptor(descriptor) && !is_sasl_challenge_type_by_descriptor(descriptor) && @@ -120,7 +120,7 @@ } } - /* Codes_SRS_SASL_FRAME_CODEC_01_009: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides=“sasl-frame”.] */ + /* Codes_SRS_SASL_FRAME_CODEC_01_009: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides="sasl-frame".] */ if (frame_body_size > 0) { sasl_frame_codec_instance->decode_state = SASL_FRAME_DECODE_ERROR; @@ -239,7 +239,7 @@ if (((descriptor = amqpvalue_get_inplace_descriptor(sasl_frame_value)) == NULL) || (amqpvalue_get_ulong(descriptor, &sasl_frame_descriptor_ulong) != 0) || - /* Codes_SRS_SASL_FRAME_CODEC_01_047: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides=“sasl-frame”.] */ + /* Codes_SRS_SASL_FRAME_CODEC_01_047: [The frame body of a SASL frame MUST contain exactly one AMQP type, whose type encoding MUST have provides="sasl-frame".] */ (sasl_frame_descriptor_ulong < SASL_MECHANISMS) || (sasl_frame_descriptor_ulong > SASL_OUTCOME)) {