commit | eca7db46ff8f24a70f4040af3e941dc19fd33ebe | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Wed Jun 01 12:14:54 2011 -0500 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jun 07 13:52:11 2011 -0500 |
tree | 94f613c435de623c01a5944b79f170110e7566f1 | |
parent | 29c75ddd87ff7904005da08ff1056395261d90f1 [diff] [blame] |
json-streamer: make sure to reset token_size after emitting a token list Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/json-streamer.h b/json-streamer.h index 09f3bd7..f09bc4d 100644 --- a/json-streamer.h +++ b/json-streamer.h
@@ -24,6 +24,7 @@ int brace_count; int bracket_count; QList *tokens; + uint64_t token_size; } JSONMessageParser; void json_message_parser_init(JSONMessageParser *parser,