Re-included unneeded cases in do_disconnect() and do_send() to prevent warnings.

This commit is contained in:
goldsimon 2007-05-21 09:52:23 +00:00
parent 7f5d6bc964
commit 613644bfc6

View File

@ -514,6 +514,10 @@ do_disconnect(struct api_msg_msg *msg)
udp_disconnect(msg->conn->pcb.udp); udp_disconnect(msg->conn->pcb.udp);
break; break;
#endif /* LWIP_UDP */ #endif /* LWIP_UDP */
case NETCONN_TCP:
case NETCONN_RAW:
/* nothing to do */
break;
} }
sys_mbox_post(msg->conn->mbox, NULL); sys_mbox_post(msg->conn->mbox, NULL);
} }
@ -573,6 +577,9 @@ do_send(struct api_msg_msg *msg)
} }
break; break;
#endif /* LWIP_UDP */ #endif /* LWIP_UDP */
case NETCONN_TCP:
/* nothing to do */
break;
} }
} }
} }