refactor return error
This commit is contained in:
parent
7779c8a75e
commit
14e46d6756
|
@ -167,6 +167,7 @@ void dmSendStatusReq(SDnodeMgmt *pMgmt) {
|
|||
dError("failed to serialize status req since %s", tstrerror(contLen));
|
||||
return;
|
||||
}
|
||||
|
||||
void *pHead = rpcMallocCont(contLen);
|
||||
contLen = tSerializeSStatusReq(pHead, contLen, &req);
|
||||
if (contLen < 0) {
|
||||
|
|
Loading…
Reference in New Issue