mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
Fix macro ERR_IS_FATAL (else, no error is fatal).
This commit is contained in:
parent
03777ccb21
commit
499c63bd0a
@ -47,7 +47,7 @@ typedef s8_t err_t;
|
||||
#define ERR_BUF -2 /* Buffer error. */
|
||||
#define ERR_RTE -3 /* Routing problem. */
|
||||
|
||||
#define ERR_IS_FATAL(e) ((e) < ERR_TIMEOUT)
|
||||
#define ERR_IS_FATAL(e) ((e) < ERR_RTE)
|
||||
|
||||
#define ERR_ABRT -4 /* Connection aborted. */
|
||||
#define ERR_RST -5 /* Connection reset. */
|
||||
|
Loading…
Reference in New Issue
Block a user