net: coap: Debug print was missing a parameter
Debug print was missing a parameter so it printed some garbage value. Changed the printf not to try to print extra value. Change-Id: I265c0bc8d703c8b40af6e25f5879a3d3a6fddcdf Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
2735e1fa82
commit
8328fd5cd0
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ coap_engine_receive(coap_context_t *coap_ctx)
|
||||||
|
|
||||||
PRINTF("receiving UDP datagram from: ");
|
PRINTF("receiving UDP datagram from: ");
|
||||||
PRINT6ADDR(&UIP_IP_BUF(coap_ctx->buf)->srcipaddr);
|
PRINT6ADDR(&UIP_IP_BUF(coap_ctx->buf)->srcipaddr);
|
||||||
PRINTF(":%u\n Length: %u (payload %u)\n",
|
PRINTF(":%u\n Length: %u\n",
|
||||||
uip_ntohs(UIP_UDP_BUF(coap_ctx->buf)->srcport),
|
uip_ntohs(UIP_UDP_BUF(coap_ctx->buf)->srcport),
|
||||||
uip_appdatalen(coap_ctx->buf));
|
uip_appdatalen(coap_ctx->buf));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue