1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

I don't seriously expect this solves the segfault ... but it does make

the code more legible, and protects particularly ugly unset values.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-09-10 04:21:40 +00:00
parent 31f7781d4d
commit 1cf6e24fb0

View File

@@ -188,7 +188,7 @@
#define strIsEmpty(s) (s == NULL || s[0] == NUL)
#define cfgMerge(el,unset) new->el = add->el == unset ? base->el : add->el
#define cfgMerge(el,unset) new->el = (add->el == (unset)) ? base->el : add->el
#define cfgMergeArray(el) new->el = apr_array_append(p, add->el, base->el)
#define cfgMergeTable(el) new->el = apr_table_overlay(p, add->el, base->el)
#define cfgMergeCtx(el) new->el = apr_table_overlay(p, add->el, base->el)