Commit db60180d authored by Senthil Prabakaran's avatar Senthil Prabakaran Committed by Mouse

Move curly brackets to correct position

parent c1267273
...@@ -51,7 +51,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void * ...@@ -51,7 +51,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void *
} }
if(!xcan) ASN__TEXT_INDENT(1, ilevel); if(!xcan) ASN__TEXT_INDENT(1, ilevel);
ASN__CALLBACK3("\"", 1, mname, mlen, "\": {", 4); ASN__CALLBACK3("{\n\"", 3, mname, mlen, "\": ", 3);
/* Print the member itself */ /* Print the member itself */
tmper = elm->type->op->jer_encoder(elm->type, memb_ptr, ilevel + 1, tmper = elm->type->op->jer_encoder(elm->type, memb_ptr, ilevel + 1,
......
...@@ -24,7 +24,7 @@ jer_encode(const asn_TYPE_descriptor_t *td, const void *sptr, ...@@ -24,7 +24,7 @@ jer_encode(const asn_TYPE_descriptor_t *td, const void *sptr,
mname = td->xml_tag; mname = td->xml_tag;
mlen = strlen(mname); mlen = strlen(mname);
ASN__CALLBACK3("{\"", 2, mname, mlen, "\":", 2); ASN__CALLBACK3("{\n\"", 3, mname, mlen, "\":", 2);
tmper = td->op->jer_encoder(td, sptr, 1, 0, cb, app_key); tmper = td->op->jer_encoder(td, sptr, 1, 0, cb, app_key);
if(tmper.encoded == -1) return tmper; if(tmper.encoded == -1) return tmper;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment