mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-12-18 15:28:15 +00:00
fix:Modify variable name.
Signed-off-by: dong-peng25 <dongpeng25@huawei.com>
This commit is contained in:
parent
af89089851
commit
195a062279
@ -509,9 +509,9 @@ static int32_t TransProxyUnpackAuthHandshakeMsg(cJSON *root, AppInfo *appInfo)
|
||||
return SOFTBUS_OK;
|
||||
}
|
||||
|
||||
NO_SANITIZE("cfi") int32_t TransProxyUnpackHandshakeMsg(const char *msg, ProxyChannelInfo *chan, int32_t len)
|
||||
NO_SANITIZE("cfi") int32_t TransProxyUnpackHandshakeMsg(const char *msg, ProxyChannelInfo *chan, int32_t length)
|
||||
{
|
||||
cJSON *root = cJSON_ParseWithLength(msg, len);
|
||||
cJSON *root = cJSON_ParseWithLength(msg, length);
|
||||
if (root == NULL) {
|
||||
return SOFTBUS_ERR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user