Commit b709bdcb authored by Jeff Trawick's avatar Jeff Trawick
Browse files

fix gcc warning

mod_include.c: In function `find_file':
mod_include.c:1281: warning: suggest parentheses around assignment used as truth value


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87907 13f79535-47bb-0310-9956-ffa450edef68
parent f0f47c00
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1276,8 +1276,8 @@ static int find_file(request_rec *r, const char *directive, const char *tag,

            if (rr->status == HTTP_OK && rr->finfo.protection != 0) {
                to_send = rr->filename;
                if (rv = apr_stat(finfo, to_send, APR_FINFO_GPROT 
                                | APR_FINFO_MIN, rr->pool) != APR_SUCCESS
                if ((rv = apr_stat(finfo, to_send, APR_FINFO_GPROT 
                                | APR_FINFO_MIN, rr->pool)) != APR_SUCCESS
                                                     && rv != APR_INCOMPLETE) {
                    error_fmt = "unable to get information about \"%s\" "
                        "in parsed file %s";