c: msgpack_pack_object

This commit is contained in:
frsyuki
2009-02-24 16:37:47 +09:00
parent aaaaecb8ba
commit bdd13859b6
7 changed files with 106 additions and 25 deletions

View File

@@ -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;