mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
c: msgpack_pack_object
This commit is contained in:
parent
aaaaecb8ba
commit
bdd13859b6
7 changed files with 106 additions and 25 deletions
|
|
@ -84,7 +84,6 @@ struct fwriter {
|
|||
void write(const char* buf, size_t buflen)
|
||||
{
|
||||
size_t count = fwrite(buf, buflen, 1, m_fp);
|
||||
//if(fwrite(buf, buflen, 1, m_fp) < 1) {
|
||||
if(count < 1) {
|
||||
std::cout << buflen << std::endl;
|
||||
std::cout << count << std::endl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue