mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-03 21:32:08 +00:00
Corrected spelling of ERR_WOULDBLOCK (D was missing)
This commit is contained in:
parent
57594ad7b6
commit
0a49f2e068
@ -1182,7 +1182,7 @@ do_writemore(struct netconn *conn)
|
||||
if (dontblock && (err == ERR_MEM)) {
|
||||
/* nonblocking write failed */
|
||||
write_finished = 1;
|
||||
err = ERR_WOULBLOCK;
|
||||
err = ERR_WOULDBLOCK;
|
||||
/* let poll_tcp check writable space to mark the pcb
|
||||
writable again */
|
||||
conn->flags |= NETCONN_FLAG_CHECK_WRITESPACE;
|
||||
|
@ -135,7 +135,7 @@ static const int err_to_errno_table[] = {
|
||||
EHOSTUNREACH, /* ERR_RTE -4 Routing problem. */
|
||||
EINPROGRESS, /* ERR_INPROGRESS -5 Operation in progress */
|
||||
EINVAL, /* ERR_VAL -6 Illegal value. */
|
||||
EWOULDBLOCK, /* ERR_WOULBLOCK -7 Operation would block. */
|
||||
EWOULDBLOCK, /* ERR_WOULDBLOCK -7 Operation would block. */
|
||||
ECONNABORTED, /* ERR_ABRT -8 Connection aborted. */
|
||||
ECONNRESET, /* ERR_RST -9 Connection reset. */
|
||||
ESHUTDOWN, /* ERR_CLSD -10 Connection closed. */
|
||||
|
@ -56,7 +56,7 @@ typedef s8_t err_t;
|
||||
#define ERR_RTE -4 /* Routing problem. */
|
||||
#define ERR_INPROGRESS -5 /* Operation in progress */
|
||||
#define ERR_VAL -6 /* Illegal value. */
|
||||
#define ERR_WOULBLOCK -7 /* Operation would block. */
|
||||
#define ERR_WOULDBLOCK -7 /* Operation would block. */
|
||||
|
||||
#define ERR_IS_FATAL(e) ((e) < ERR_VAL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user