diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-08-23 18:39:47 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-24 20:26:37 +0200 |
commit | 00ea57fadcb899b7e21079dacb47b6fb8af5b2fa (patch) | |
tree | 625d0703969b40598d4fbe5c66a2b80f6f3ea143 /tests/check-qjson.c | |
parent | eddc0a7f0ad84edd0f8dd27d4a70a305ccd7bc5f (diff) |
json: Tighten and simplify qstring_from_escaped_str()'s loop
Simplify loop control, and assert that the string ends with the
appropriate quote (the lexer ensures it does).
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-21-armbru@redhat.com>
Diffstat (limited to 'tests/check-qjson.c')
0 files changed, 0 insertions, 0 deletions