summaryrefslogtreecommitdiff
path: root/example/stream.cc
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@vcore.(none)>2009-02-24 16:37:47 +0900
committerfrsyuki <frsyuki@vcore.(none)>2009-02-24 16:37:47 +0900
commitbdd13859b60d06ec6fabdbaccea81cbee189b8bc (patch)
treec76ff69b75cd98c669ead4c25ca1d3fd33b0666a /example/stream.cc
parentaaaaecb8bad862afc66ad5a2772adb78b9082df8 (diff)
downloadmsgpack-python-bdd13859b60d06ec6fabdbaccea81cbee189b8bc.tar.gz
c: msgpack_pack_object
Diffstat (limited to 'example/stream.cc')
-rw-r--r--example/stream.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/example/stream.cc b/example/stream.cc
index aef4ec8..e57318f 100644
--- a/example/stream.cc
+++ b/example/stream.cc
@@ -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;