Skip to content

Commit

Permalink
[DCT-6]: Use append_literal_to_payload in append_to_payload
Browse files Browse the repository at this point in the history
  • Loading branch information
noxpardalis committed Aug 21, 2023
1 parent 739da84 commit a56bdff
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ddsrt/src/xmlparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,8 @@ static int append_to_payload (struct ddsrt_xmlp_state *st, int c)
}
st->tpp = st->tpescp + n;
}
st->tp[st->tpp++] = (char) c;
append_literal_to_payload (st, c);
st->tpescp = st->tpp;
if (st->tpp == st->tpsz) {
st->tpsz += 1024;
st->tp = ddsrt_realloc (st->tp, st->tpsz);
}
return 0;
}

Expand Down

0 comments on commit a56bdff

Please sign in to comment.