git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement JSON-RPC protocol.
[sliver-openvswitch.git]
/
tests
/
test-json.c
diff --git
a/tests/test-json.c
b/tests/test-json.c
index
bb9fadb
..
6261786
100644
(file)
--- a/
tests/test-json.c
+++ b/
tests/test-json.c
@@
-92,7
+92,7
@@
parse_multiple(const char *input_file)
parser = json_parser_create(0);
}
- used
= n -
json_parser_feed(parser, &buffer[used], n - used);
+ used
+=
json_parser_feed(parser, &buffer[used], n - used);
if (used < n) {
if (!print_and_free_json(json_parser_finish(parser))) {
ok = false;