Fix typos in comments

This commit is contained in:
Jinesi Yelizati
2021-04-20 09:45:31 +01:00
committed by Baldur Karlsson
parent 270d4e5b07
commit c729397761
+2 -2
View File
@@ -26,7 +26,7 @@
namespace JDWP
{
// short helper functions to read/write vectors - always preceeded by an int length
// short helper functions to read/write vectors - always preceded by an int length
template <typename inner>
void ReadVector(CommandData &data, rdcarray<inner> &vec,
std::function<void(CommandData &data, inner &i)> process)
@@ -89,7 +89,7 @@ bool Connection::SendReceive(Command &cmd)
CommandSet sentSet = cmd.commandset;
byte sentCmd = cmd.command;
// send the command, and recieve the reply back into the same object.
// send the command, and receive the reply back into the same object.
// save the auto-generated ID for this command so we can compare it to the reply - we expect a
// synchronous reply, no other commands in the way.
uint32_t id = cmd.Send(writer);