[coap] improve readability (#3008)

This commit is contained in:
hjian2017
2018-08-30 10:18:13 -07:00
committed by Jonathan Hui
parent 4665732e81
commit cb63295975
+2 -2
View File
@@ -527,8 +527,8 @@ exit:
void CoapBase::HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo)
{
static_cast<Coap *>(aContext)->Receive(*static_cast<Message *>(aMessage),
*static_cast<const Ip6::MessageInfo *>(aMessageInfo));
static_cast<CoapBase *>(aContext)->Receive(*static_cast<Message *>(aMessage),
*static_cast<const Ip6::MessageInfo *>(aMessageInfo));
}
void CoapBase::Receive(Message &aMessage, const Ip6::MessageInfo &aMessageInfo)