Backed out lwip_close() change after discussion with Frederic.

This commit is contained in:
marcbou 2007-08-16 23:09:04 +00:00
parent 07223bf5ef
commit c517f6daf9

View File

@ -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);
}