This keeps DEBUG_INCLUDE from segfaulting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94451
13f79535-47bb-0310-9956-
ffa450edef68
/*-------------------------------------------------------------------------*/
#ifdef DEBUG_INCLUDE
-/* XXX overlaying the static string pointed to by cond_txt isn't cool */
-
#define MAX_DEBUG_SIZE MAX_STRING_LEN
#define LOG_COND_STATUS(cntx, t_buck, h_ptr, ins_head, tag_text) \
{ \
- char *cond_txt = "**** X conditional_status=\"0\"\n"; \
+ char cond_txt[] = "**** X conditional_status=\"0\"\n"; \
\
if (cntx->flags & FLAG_COND_TRUE) { \
cond_txt[31] = '1'; \