Skip to content

Commit

Permalink
Update src/app/CommandHandler.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
yunhanw-google and bzbarsky-apple authored Aug 11, 2022
1 parent 954baec commit 4dc1939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/CommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Status CommandHandler::ProcessInvokeRequest(System::PacketBufferHandle && payloa
// IM Engine will send a status response.
size_t commandCount = 0;
TLV::Utilities::Count(invokeRequestsReader, commandCount, false /* recurse */);
VerifyOrReturnError(commandCount == 1, Status::Failure);
VerifyOrReturnError(commandCount == 1, Status::InvalidAction);
}

while (CHIP_NO_ERROR == (err = invokeRequestsReader.Next()))
Expand Down

0 comments on commit 4dc1939

Please sign in to comment.