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:
Jukka Rissanen 2016-03-18 10:18:51 +02:00 committed by Gerrit Code Review
commit 8328fd5cd0

View file

@ -75,7 +75,7 @@ coap_engine_receive(coap_context_t *coap_ctx)
PRINTF("receiving UDP datagram from: ");
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_appdatalen(coap_ctx->buf));