mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-20 13:33:51 +01:00
c: fixes msgpack_zbuffer_flush
This commit is contained in:
parent
93c3cbeaef
commit
f88c029a4c
@ -126,6 +126,7 @@ char* msgpack_zbuffer_flush(msgpack_zbuffer* zbuf)
|
|||||||
return zbuf->data;
|
return zbuf->data;
|
||||||
case Z_OK:
|
case Z_OK:
|
||||||
msgpack_zbuffer_expand(zbuf);
|
msgpack_zbuffer_expand(zbuf);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user