Fix typo in coap_tindydtls

This commit is contained in:
jcmichelou committed 2017-06-24 16:21:28 +02:00
1 parent b159565774
commit ca597b6986
1 file changed
+1 -1
+1 -1
View File
@@ -112,7 +112,7 @@ dtls_event(struct dtls_context_t *dtls_context,
if (event == COAP_EVENT_DTLS_CONNECTED)
coap_session_connected(coap_session);
else if (event == DTLS_ALERT_CLOSE_NOTIFY || COAP_EVENT_DTLS_ERROR)
else if (event == DTLS_ALERT_CLOSE_NOTIFY || event == COAP_EVENT_DTLS_ERROR)
coap_session_disconnected(coap_session);
return 0;