summaryrefslogtreecommitdiffstats
path: root/Source/cmUVStreambuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUVStreambuf.h')
-rw-r--r--Source/cmUVStreambuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUVStreambuf.h b/Source/cmUVStreambuf.h
index 0ae532b..873352b 100644
--- a/Source/cmUVStreambuf.h
+++ b/Source/cmUVStreambuf.h
@@ -208,7 +208,7 @@ void cmBasicUVStreambuf<CharT, Traits>::StreamRead(ssize_t nread)
this->setg(this->eback(), this->gptr(),
this->egptr() + nread / sizeof(CharT));
uv_read_stop(this->Stream);
- } else if (nread < 0 || nread == UV_EOF) {
+ } else if (nread < 0 /*|| nread == UV_EOF*/) {
this->EndOfFile = true;
uv_read_stop(this->Stream);
}