]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Backed out last change to netconn_delete() after discussion with Frederic.
authormarcbou <marcbou>
Thu, 16 Aug 2007 23:06:42 +0000 (23:06 +0000)
committermarcbou <marcbou>
Thu, 16 Aug 2007 23:06:42 +0000 (23:06 +0000)
src/api/api_lib.c

index cce59477d3f0738b28cff5ee78129a35dbf198bf..263bbdaf47b141cbae4f7b933a38c1422bad21be 100644 (file)
@@ -325,8 +325,6 @@ netconn_delete(struct netconn *conn)
 
   /* Drain the recvmbox. */
   if (conn->recvmbox != SYS_MBOX_NULL) {
-       /* send message in order to unblock a potentially waiting recv. */
-       sys_mbox_post( conn->recvmbox, NULL );
     while (sys_mbox_tryfetch(conn->recvmbox, &mem) != SYS_MBOX_EMPTY) {
       if (conn->type == NETCONN_TCP) {
         if(mem != NULL)