Trivial change: correct sense of comment about LWIP_ERROR macro

This commit is contained in:
jifl 2008-04-29 16:51:35 +00:00
parent 7be9e292dc
commit 40d4a8fc2f

View File

@ -66,7 +66,7 @@
#define LWIP_ASSERT(x,y) #define LWIP_ASSERT(x,y)
#endif /* LWIP_NOASSERT */ #endif /* LWIP_NOASSERT */
/** print "m" message only if "e" is true, and execute "h" expression */ /** if "e" isn't true, then print "m" message and execute "h" expression */
#ifndef LWIP_ERROR #ifndef LWIP_ERROR
#define LWIP_ERROR(m,e,h) do { if (!(e)) { LWIP_PLATFORM_ASSERT(m); h;}} while(0) #define LWIP_ERROR(m,e,h) do { if (!(e)) { LWIP_PLATFORM_ASSERT(m); h;}} while(0)
#endif /* LWIP_ERROR */ #endif /* LWIP_ERROR */