mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/net/gcoap: add ; after DEBUG()
This commit is contained in:
parent
8c5b898ed4
commit
1db8ab4f72
@ -206,7 +206,7 @@ static void _on_sock_dtls_evt(sock_dtls_t *sock, sock_async_flags_t type, void *
|
||||
} else if (prev_state == NO_SPACE) {
|
||||
/* No space in session management. Should not happen. If it occurs,
|
||||
we lost track of sessions */
|
||||
DEBUG("gcoap: no space in session management. We lost track of sessions!")
|
||||
DEBUG("gcoap: no space in session management. We lost track of sessions!");
|
||||
sock_dtls_session_destroy(sock, &socket.ctx_dtls_session);
|
||||
}
|
||||
|
||||
@ -993,7 +993,7 @@ static ssize_t _tl_authenticate(gcoap_socket_t *sock, const sock_udp_ep_t *remot
|
||||
return 0;
|
||||
}
|
||||
if (session_state == NO_SPACE) {
|
||||
DEBUG("gcoap: no space in dsm\n")
|
||||
DEBUG("gcoap: no space in dsm\n");
|
||||
return -ENOTCONN;
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ dsm_state_t dsm_store(sock_dtls_t *sock, sock_dtls_session_t *session,
|
||||
|
||||
/* no existing session found */
|
||||
if (res == 0) {
|
||||
DEBUG("dsm: no existing session found, storing as new session\n")
|
||||
DEBUG("dsm: no existing session found, storing as new session\n");
|
||||
sock_dtls_session_get_udp_ep(session, &ep);
|
||||
sock_dtls_session_set_udp_ep(&session_slot->session, &ep);
|
||||
session_slot->sock = sock;
|
||||
@ -76,7 +76,7 @@ dsm_state_t dsm_store(sock_dtls_t *sock, sock_dtls_session_t *session,
|
||||
|
||||
/* existing session found and session should be restored */
|
||||
if (res == 1 && restore) {
|
||||
DEBUG("dsm: existing session found, restoring\n")
|
||||
DEBUG("dsm: existing session found, restoring\n");
|
||||
memcpy(session, &session_slot->session, sizeof(sock_dtls_session_t));
|
||||
}
|
||||
session_slot->last_used_sec = (uint32_t)(xtimer_now_usec64() / US_PER_SEC);
|
||||
|
Loading…
Reference in New Issue
Block a user