asn1: Fix dumb bug in JSON printing
This commit is contained in:
@@ -2385,7 +2385,7 @@ _asn1_print_open_type(const struct asn1_template *t, /* object set template */
|
|||||||
|
|
||||||
r = rk_strpoolprintf(r, ",%s\"_%s_choice\":\"%s\"",
|
r = rk_strpoolprintf(r, ",%s\"_%s_choice\":\"%s\"",
|
||||||
indents ? indents : "", opentype_name,
|
indents ? indents : "", opentype_name,
|
||||||
(const char *)tos[3*(*elementp - 1) + 2].ptr);
|
(const char *)tactual_type);
|
||||||
if (!r) {
|
if (!r) {
|
||||||
free(indents);
|
free(indents);
|
||||||
return r;
|
return r;
|
||||||
|
Reference in New Issue
Block a user