From c1c9983cfe63213d7c22d24a727ded3c25e7aff8 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 9 Oct 2007 19:29:54 +0000 Subject: [PATCH] Removed --- 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 cf6c21a6..60919435 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -396,7 +396,7 @@ lwip_recvfrom(int s, void *mem, int len, unsigned int flags, if (!sock) return -1; - while ( !done ) { + do { LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_recvfrom: top while sock->lastdata=%p\n", sock->lastdata)); /* Check if there is data left from the last recv operation. */ if (sock->lastdata) { @@ -466,7 +466,7 @@ lwip_recvfrom(int s, void *mem, int len, unsigned int flags, } else { done = 1; } - } /* while ( !done ) */ + } while (!done); /* Check to see from where the data was.*/ if (from && fromlen) {