mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Revert "Fix two bad "fall-through" code"
This reverts commit a7f2ef4aec
.
The fall through is actually a regression
This commit is contained in:
parent
98d5e06dba
commit
22dacc38c0
@ -2449,8 +2449,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
|
|||||||
case NETCONN_EVT_RCVMINUS:
|
case NETCONN_EVT_RCVMINUS:
|
||||||
sock->rcvevent--;
|
sock->rcvevent--;
|
||||||
check_waiters = 0;
|
check_waiters = 0;
|
||||||
sock->sendevent = 1;
|
|
||||||
break;
|
|
||||||
case NETCONN_EVT_SENDPLUS:
|
case NETCONN_EVT_SENDPLUS:
|
||||||
if (sock->sendevent) {
|
if (sock->sendevent) {
|
||||||
check_waiters = 0;
|
check_waiters = 0;
|
||||||
@ -2460,8 +2458,6 @@ event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len)
|
|||||||
case NETCONN_EVT_SENDMINUS:
|
case NETCONN_EVT_SENDMINUS:
|
||||||
sock->sendevent = 0;
|
sock->sendevent = 0;
|
||||||
check_waiters = 0;
|
check_waiters = 0;
|
||||||
sock->errevent = 1;
|
|
||||||
break;
|
|
||||||
case NETCONN_EVT_ERROR:
|
case NETCONN_EVT_ERROR:
|
||||||
sock->errevent = 1;
|
sock->errevent = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user