[cli] fix initializing coap secure response (#3125)

This commit is contained in:
Yakun Xu
2018-10-08 09:24:11 -07:00
committed by Jonathan Hui
parent b213628fd6
commit 92b9746787
+1 -1
View File
@@ -366,7 +366,7 @@ void CoapsSecure::HandleServerResponse(otCoapHeader *aHeader, otMessage *aMessag
{
otError error = OT_ERROR_NONE;
otCoapHeader responseHeader;
otMessage * responseMessage;
otMessage * responseMessage = NULL;
otCoapCode responseCode = OT_COAP_CODE_EMPTY;
char responseContent[] = "helloWorld";