A small memory footprint AMQP implimentation
Dependents: iothub_client_sample_amqp remote_monitoring simplesample_amqp
Diff: sasl_frame_codec.c
- Revision:
- 15:5db103709f20
- Parent:
- 6:641a9672db08
- Child:
- 16:22a72cf8e416
diff -r 0b0e28c75ded -r 5db103709f20 sasl_frame_codec.c --- a/sasl_frame_codec.c Wed Dec 14 16:00:07 2016 -0800 +++ b/sasl_frame_codec.c Sun Jan 08 11:12:13 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)) {