mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Message: Fix typo in error message. (#158)
This commit is contained in:
@@ -43,7 +43,7 @@ std::shared_ptr<Message> Message::Read(WireDecoder& decoder,
|
||||
break;
|
||||
case kServerHello:
|
||||
if (decoder.proto_rev() < 0x0300u) {
|
||||
decoder.set_error("received SERVER_HELLO_DONE in protocol < 3.0");
|
||||
decoder.set_error("received SERVER_HELLO in protocol < 3.0");
|
||||
return nullptr;
|
||||
}
|
||||
if (!decoder.Read8(&msg->m_flags)) return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user