From: Jeff Trawick Date: Tue, 17 Oct 2000 01:04:33 +0000 (+0000) Subject: Capitalize AP_DEBUG_ASSERT(). All macros should shout, even X-Git-Tag: APACHE_2_0_ALPHA_8~343 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61a74c6f669a659059e02bdfcad03f66ac461cf8;p=apache Capitalize AP_DEBUG_ASSERT(). All macros should shout, even if their forbearers (e.g., ap_assert()) did not. Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86621 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index 945812f27a..d4f19a2f5a 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1598,7 +1598,7 @@ unsigned long ap_get_virthost_addr(char *hostname, unsigned short *port); * Redefine assert() to something more useful for an Apache... * * Use ap_assert() if the condition should always be checked. - * Use ap_debug_assert() if the condition should only be checked when AP_DEBUG + * Use AP_DEBUG_ASSERT() if the condition should only be checked when AP_DEBUG * is defined. */ /** @@ -1613,9 +1613,9 @@ AP_DECLARE(void) ap_log_assert(const char *szExp, const char *szFile, int nLine) #define ap_assert(exp) ((exp) ? (void)0 : ap_log_assert(#exp,__FILE__,__LINE__)) #ifdef AP_DEBUG -#define ap_debug_assert(exp) ap_assert(exp) +#define AP_DEBUG_ASSERT(exp) ap_assert(exp) #else -#define ap_debug_assert(exp) ((void)0) +#define AP_DEBUG_ASSERT(exp) ((void)0) #endif /* A set of flags which indicate places where the server should raise(SIGSTOP).