From acbdf63a480bb92b44cea2176acb35a60464ea43 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Thu, 23 Apr 2015 23:07:06 +0200 Subject: [PATCH] debug.h: fixed LWIP_PLATFORM_ERROR macro if LWIP_DEBUG and LWIP_NOASSERT are defined --- src/include/lwip/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/debug.h b/src/include/lwip/debug.h index b50a5de2..b559944e 100644 --- a/src/include/lwip/debug.h +++ b/src/include/lwip/debug.h @@ -81,7 +81,7 @@ #ifndef LWIP_NOASSERT #define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_ASSERT(message) #elif defined LWIP_DEBUG -#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG(message) +#define LWIP_PLATFORM_ERROR(message) LWIP_PLATFORM_DIAG((message)) #else #define LWIP_PLATFORM_ERROR(message) #endif