Message: Fix typo in error message. (#158)

This commit is contained in:
Peter Johnson
2016-11-24 23:50:02 -08:00
committed by GitHub
parent 046d385a78
commit b8e9439d32

View File

@@ -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;