From 499c63bd0a08955756cee0241fcbd3c5dd9e4902 Mon Sep 17 00:00:00 2001 From: fbernon Date: Tue, 27 Nov 2007 21:54:58 +0000 Subject: [PATCH] Fix macro ERR_IS_FATAL (else, no error is fatal). --- src/include/lwip/err.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/err.h b/src/include/lwip/err.h index cf104db0..bc070854 100644 --- a/src/include/lwip/err.h +++ b/src/include/lwip/err.h @@ -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. */