diff --git a/frameworks/concurrent_task_client/src/concurrent_task_service_proxy.cpp b/frameworks/concurrent_task_client/src/concurrent_task_service_proxy.cpp index a794d7f8781b5df9bdcc19920cf8cd1da2db4c6f..7b7782e228668be96ecee80623280c448869881a 100644 --- a/frameworks/concurrent_task_client/src/concurrent_task_service_proxy.cpp +++ b/frameworks/concurrent_task_client/src/concurrent_task_service_proxy.cpp @@ -69,8 +69,8 @@ void ConcurrentTaskServiceProxy::QueryInterval(int queryItem, IntervalReply& que queryRs.paramA = -1; queryRs.paramB = -1; - if (!reply.ReadInt32(queryRs.rtgId) || !reply.WriteInt32(queryRs.tid) - || !reply.ReadInt32(queryRs.paramA) || !reply.WriteInt32(queryRs.paramB)) { + if (!reply.ReadInt32(queryRs.rtgId) || !reply.ReadInt32(queryRs.tid) + || !reply.ReadInt32(queryRs.paramA) || !reply.ReadInt32(queryRs.paramB)) { CONCUR_LOGE("Read info failed in QueryInterval Proxy"); return; }