Skip to content

Commit f0438a9

Browse files
committed
Fixed SendCommand error message bug
1 parent 4d0b65b commit f0438a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RTProtocol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5390,6 +5390,7 @@ bool CRTProtocol::SendCommand(const char* pCmdStr, char* pCommandResponseStr, un
53905390
if (eType == CRTPacket::PacketError)
53915391
{
53925392
strcpy(pCommandResponseStr, mpoRTPacket->GetErrorString());
5393+
strcpy(maErrorStr, pCommandResponseStr);
53935394
return false;
53945395
}
53955396
}

0 commit comments

Comments
 (0)