diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-28 22:26:56 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-07 16:07:47 +0100 |
commit | ea5ef5c80b655456971b00f7ffaad5e26d4c5978 (patch) | |
tree | 248bd293291434de5e3f2a33a49a8b6de1d31068 /hax-stub.c | |
parent | 53f991520ea866a315ef946deb79e4c92b71fe3d (diff) |
qjson: Abort earlier on qobject_from_jsonf() misuse
Ignoring errors first, then asserting success is suboptimal. Pass
&error_abort instead, so we abort earlier, and hopefully get more
useful clues on what's wrong.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <1488317230-26248-11-git-send-email-armbru@redhat.com>
Diffstat (limited to 'hax-stub.c')
0 files changed, 0 insertions, 0 deletions