diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-08-23 18:40:17 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-08-24 20:26:37 +0200 |
commit | a2731e08ee8633fcdc2af944b8f8f315678f7669 (patch) | |
tree | fb052528d60996d51c6924c3bc4b9a5333dca038 /include/qapi | |
parent | 8d3265b3d00db1071d1d3bf8433b4818088fdeb5 (diff) |
json: Unbox tokens queue in JSONMessageParser
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-51-armbru@redhat.com>
Diffstat (limited to 'include/qapi')
-rw-r--r-- | include/qapi/qmp/json-streamer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/json-streamer.h b/include/qapi/qmp/json-streamer.h index e162fd01da..d1d7fe2595 100644 --- a/include/qapi/qmp/json-streamer.h +++ b/include/qapi/qmp/json-streamer.h @@ -31,7 +31,7 @@ typedef struct JSONMessageParser JSONLexer lexer; int brace_count; int bracket_count; - GQueue *tokens; + GQueue tokens; uint64_t token_size; } JSONMessageParser; |