Fixes a bug in back to back iostream reads
This commit is contained in:
1 parent
727328cc9a
commit
2584aed3d9
1 file changed
+1
-1
@@ -195,7 +195,7 @@ private:
|
||||
break;
|
||||
}
|
||||
|
||||
in.read(m_buf,m_len-m_cursor);
|
||||
in.read(m_buf+m_cursor,m_len-m_cursor);
|
||||
|
||||
if (in.gcount() == 0) {
|
||||
m_elog.write(log::elevel::devel,"read zero bytes");
|
||||
|
||||
Reference in new issue
Block a user