]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r452213 from trunk:
authorRuediger Pluem <rpluem@apache.org>
Tue, 3 Oct 2006 12:49:42 +0000 (12:49 +0000)
committerRuediger Pluem <rpluem@apache.org>
Tue, 3 Oct 2006 12:49:42 +0000 (12:49 +0000)
* Fix precedence problem.

PR: 40658
Submitted by: Larry Cipriani <lvc lucent.com>
Reviewed by: rpluem, niq, trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@452462 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/echo/mod_echo.c

diff --git a/CHANGES b/CHANGES
index ca72796f135873ee0660a10d0b92e6df07b791c3..2af079aa08a0e3b084c94ae3de728240a89134c8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                         -*- coding: utf-8 -*-
 Changes with Apache 2.2.4
 
+  *) mod_echo: Fix precedence problem in if statement. PR 40658.
+     [Larry Cipriani <lvc lucent.com>]
+
   *) mod_mime_magic: Fix precedence problem in if statement. PR 40656.
      [Larry Cipriani <lvc lucent.com>]
 
index 6c8a4113c197170c0010af2dc9d2b49eeebbfb67..ddbe972c589231ff517b6f500194f549233464c4 100644 (file)
@@ -63,9 +63,9 @@ static int process_echo_connection(conn_rec *c)
         bb = apr_brigade_create(c->pool, c->bucket_alloc);
 
         /* Get a single line of input from the client */
-        if ((rv = ap_get_brigade(c->input_filters, bb, AP_MODE_GETLINE,
-                                 APR_BLOCK_READ, 0) != APR_SUCCESS ||
-             APR_BRIGADE_EMPTY(bb))) {
+        if (((rv = ap_get_brigade(c->input_filters, bb, AP_MODE_GETLINE,
+                                 APR_BLOCK_READ, 0)) != APR_SUCCESS) ||
+             APR_BRIGADE_EMPTY(bb)) {
             apr_brigade_destroy(bb);
             break;
         }