diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-08-29 15:40:35 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-30 16:08:47 +0200 |
commit | 2aa788f5cb9e7fa24bed9091e7eae801f5c3ab04 (patch) | |
tree | 35cb3e9de2407a9e0729fe93474c1d4912beb024 /qapi/qmp-dispatch.c | |
parent | 6cd112e26664994cb5eff207e765c9c3e55f73ea (diff) |
qmp: constify qmp_is_oob()
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180829134043.31706-3-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi/qmp-dispatch.c')
-rw-r--r-- | qapi/qmp-dispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/qmp-dispatch.c b/qapi/qmp-dispatch.c index d8da1a62de..1d922e04f7 100644 --- a/qapi/qmp-dispatch.c +++ b/qapi/qmp-dispatch.c @@ -155,7 +155,7 @@ QDict *qmp_error_response(Error *err) /* * Does @qdict look like a command to be run out-of-band? */ -bool qmp_is_oob(QDict *dict) +bool qmp_is_oob(const QDict *dict) { return qdict_haskey(dict, "exec-oob") && !qdict_haskey(dict, "execute"); |