summaryrefslogtreecommitdiff
path: root/example/stream.cc
diff options
context:
space:
mode:
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;