From c517f6daf96d4930b379922b9a9e293d78b404f8 Mon Sep 17 00:00:00 2001 From: marcbou Date: Thu, 16 Aug 2007 23:09:04 +0000 Subject: [PATCH] Backed out lwip_close() change after discussion with Frederic. --- src/api/sockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/sockets.c b/src/api/sockets.c index 765a0dad..7ddda23c 100644 --- a/src/api/sockets.c +++ b/src/api/sockets.c @@ -299,9 +299,9 @@ lwip_close(int s) return -1; } - sys_sem_wait(socksem); netconn_delete(sock->conn); + sys_sem_wait(socksem); if (sock->lastdata) { netbuf_delete(sock->lastdata); }