]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qobject/json-streamer.c
Merge tag 'pull-vfio-20231009' of https://github.com/legoater/qemu into staging
[mirror_qemu.git] / qobject / json-streamer.c
index 47dd7ea576bcd3c974ff88673891b8515512b75d..b93d97b995f9580e9d029ef5b03b740fe8e07241 100644 (file)
@@ -85,7 +85,7 @@ void json_message_process_token(JSONLexer *lexer, GString *input,
     g_queue_push_tail(&parser->tokens, token);
 
     if ((parser->brace_count > 0 || parser->bracket_count > 0)
-        && parser->bracket_count >= 0 && parser->bracket_count >= 0) {
+        && parser->brace_count >= 0 && parser->bracket_count >= 0) {
         return;
     }