Fix macro ERR_IS_FATAL (else, no error is fatal).

This commit is contained in:
fbernon 2007-11-27 21:54:58 +00:00
parent 03777ccb21
commit 499c63bd0a

View File

@ -47,7 +47,7 @@ typedef s8_t err_t;
#define ERR_BUF -2 /* Buffer error. */ #define ERR_BUF -2 /* Buffer error. */
#define ERR_RTE -3 /* Routing problem. */ #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_ABRT -4 /* Connection aborted. */
#define ERR_RST -5 /* Connection reset. */ #define ERR_RST -5 /* Connection reset. */