mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
fix spell mistake
+3
-3
@@ -179,13 +179,13 @@ void some_function(const char* buffer, std::size_t len) {
|
||||
std::size_t off = 0;
|
||||
|
||||
// Unpack the first msgpack data.
|
||||
// off is updated when function is retuened.
|
||||
// off is updated when function is returned.
|
||||
unpack(result1, buffer, len, off);
|
||||
// Unpack the second msgpack data.
|
||||
// off is updated when function is retuened.
|
||||
// off is updated when function is returned.
|
||||
unpack(result2, buffer, len, off);
|
||||
// Unpack the third msgpack data.
|
||||
// off is updated when function is retuened.
|
||||
// off is updated when function is returned.
|
||||
unpack(result3, buffer, len, off);
|
||||
assert(len == off);
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user