summaryrefslogtreecommitdiff
path: root/c/bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/bench.c')
-rw-r--r--c/bench.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/bench.c b/c/bench.c
index fa717c0..d72a10d 100644
--- a/c/bench.c
+++ b/c/bench.c
@@ -279,7 +279,8 @@ void bench_msgpack(void)
unsigned int i;
msgpack_pack_array(mpk, TASK_STR_LEN);
for(i=0; i < TASK_STR_LEN; ++i) {
- msgpack_pack_raw(mpk, TASK_STR_PTR, i);
+ msgpack_pack_raw(mpk, i);
+ msgpack_pack_raw_body(mpk, TASK_STR_PTR, i);
}
}
show_timer(mpkbuf.length);