mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fixes a bug in back to back iostream reads
This commit is contained in:
@@ -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