Skip to content

Commit

Permalink
fixup! from Murdock failures
Browse files Browse the repository at this point in the history
  • Loading branch information
kb2ma committed Feb 21, 2020
1 parent aba6873 commit 89e350d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/net/application_layer/gcoap/gcoap.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static void _on_sock_evt(sock_udp_t *sock, sock_async_flags_t type)
ssize_t res = sock_udp_recv(sock, _listen_buf, sizeof(_listen_buf),
0, &remote);
if (res <= 0) {
DEBUG("gcoap: udp recv failure: %d\n", res);
DEBUG("gcoap: udp recv failure: %d\n", (int)res);
return;
}

Expand Down Expand Up @@ -185,7 +185,7 @@ static void _on_sock_evt(sock_udp_t *sock, sock_async_flags_t type)
switch (coap_get_type(&pdu)) {
case COAP_TYPE_NON:
case COAP_TYPE_ACK:
if (&memo->resp_evt_tmout.queue) {
if (memo->resp_evt_tmout.queue) {
event_timeout_clear(&memo->resp_evt_tmout);
}
memo->state = GCOAP_MEMO_RESP;
Expand Down

0 comments on commit 89e350d

Please sign in to comment.