Commit a730bb9c authored by Sergey Petrunya's avatar Sergey Petrunya

Fix a typo bug in SimpleBuffer.read()

parent 9b04caff
......@@ -356,7 +356,7 @@ void SimpleBuffer::setup_reading(uchar **data1, size_t len1,
bool SimpleBuffer::read()
{
if (!have_data(read_size1 + read_ptr2? read_size2 : 0))
if (!have_data(read_size1 + (read_ptr2? read_size2 : 0)))
return TRUE;
*read_ptr1 =read(read_size1);
if (read_ptr2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment