aboutsummaryrefslogtreecommitdiff
path: root/tci.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-02-17 21:38:17 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-02-22 19:51:59 +0100
commit4b32e11a59e34c5cf570c1fd102a78d9351e71f5 (patch)
tree78bce6d5cf9977865301b753f3f4ad0cd4ecb682 /tci.c
parent4d96f329cc24ace3766030bcffb05256a31d32d1 (diff)
test-qmp-event: Simplify and tighten event_test_emit()
Use qdict_get_qdict() and qdict_get_try_int() to simplify. While there, add a sanity check for seconds. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1487363905-9480-7-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tci.c')
0 files changed, 0 insertions, 0 deletions