update source/dmslite_session.c.

Signed-off-by: wangdongdong <wangdongdong14@huawei.com>
This commit is contained in:
wangdongdong
2022-04-19 08:55:17 +00:00
committed by Gitee
parent 298d8bb260
commit 3dc05ab830
+2 -2
View File
@@ -68,10 +68,10 @@ void OnStartAbilityDone(int8_t errCode)
{
HILOGD("[onStartAbilityDone errCode = %d]", errCode);
}
u
void OnBytesReceived(int32_t sessionId, const void *data, uint32_t dataLen)
{
HILOGD("[OnBytesReceived dataLen = %d]", dataLen);
HILOGD("[OnBytesReceived dataLen = %u]", dataLen);
if (data == NULL || dataLen > MAX_DATA_SIZE) {
HILOGE("[OnBytesReceived param error");
InvokeCallback(NULL, DMS_EC_INVALID_PARAMETER);