From: André Malo Date: Sun, 21 Sep 2003 21:32:12 +0000 (+0000) Subject: keep the parse tree consistent if a binary operator occurs within X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34d6aaa958f115fb3bb949419b79176cf0c42923;p=thirdparty%2Fapache%2Fhttpd.git keep the parse tree consistent if a binary operator occurs within parentheses. Reviewed by: Brian Pane, Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@101302 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/modules/standard/mod_include.c b/src/modules/standard/mod_include.c index fd3b019c8ea..87e1cbdf046 100644 --- a/src/modules/standard/mod_include.c +++ b/src/modules/standard/mod_include.c @@ -1506,6 +1506,7 @@ static int parse_expr(request_rec *r, const char *expr, const char *error) } else { new->left = current->right; + new->left->parent = new; current->right = new; new->parent = current; } @@ -1609,6 +1610,7 @@ static int parse_expr(request_rec *r, const char *expr, const char *error) } else { new->left = current->right; + new->left->parent = new; current->right = new; new->parent = current; }