Bugfix (collateral): Fixed msg parsing logic for blob/error which causes GUI to crash or become unresponsive; this was a colleteral of reworking of the msg parsing code to fix day one issues in revision c484106d19b8

Fixes issue 153
This commit is contained in:
Srivats P. 2015-06-14 18:02:22 +05:30
parent d6da34e2b3
commit 53b0154e79

View File

@ -213,6 +213,7 @@ _top:
blob = static_cast<PbRpcController*>(controller)->binaryBlob();
Q_ASSERT(blob != NULL);
msgLen = 0;
while (cumLen < len)
{
if (inStream->Next((const void**)&msg, &msgLen) == false) {
@ -296,6 +297,7 @@ _top:
static QByteArray error;
int l = 0;
msgLen = 0;
while (cumLen < len)
{
if (inStream->Next((const void**)&msg, &msgLen) == false) {