From 9e0252b20953b57a04fbfa77c5ae2bfa7f8fb3c7 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Mon, 18 Jun 2007 19:23:27 +0000 Subject: [PATCH] Corrected two formatters in LWIP_DEBUGF calls --- src/api/sockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/sockets.c b/src/api/sockets.c index 6ce39a0f..515d8343 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -1639,7 +1639,7 @@ static void lwip_setsockopt_internal(void *arg) } else { sock->conn->pcb.udp->chksum_len_tx = *(int*)optval; } - LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_UDPLITE, UDPLITE_SEND_CSCOV) -> %lu\n", + LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_UDPLITE, UDPLITE_SEND_CSCOV) -> %d\n", s, (*(int*)optval)) ); break; case UDPLITE_RECV_CSCOV: @@ -1649,7 +1649,7 @@ static void lwip_setsockopt_internal(void *arg) } else { sock->conn->pcb.udp->chksum_len_rx = *(int*)optval; } - LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_UDPLITE, UDPLITE_RECV_CSCOV) -> %lu\n", + LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_setsockopt(%d, IPPROTO_UDPLITE, UDPLITE_RECV_CSCOV) -> %d\n", s, (*(int*)optval)) ); break; } /* switch (optname) */