]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
fix some warnings in resolve_symlink(), one of which seems to be for
authorJeff Trawick <trawick@apache.org>
Wed, 1 Aug 2001 11:59:55 +0000 (11:59 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 1 Aug 2001 11:59:55 +0000 (11:59 +0000)
commit78b3feb4cee108ebd72e6e8753e87aacb292baf1
tree8b6f29c9b61fa8e318c23f03cda646b534a7ade4
parentce979cdea70dd62002a629fc2d60842faf62e7d9
fix some warnings in resolve_symlink(), one of which seems to be for
a genuine bug...

The old logic

  if (!(opts & OPT_SYM_OWNER | OPT_SYM_LINKS))

wouldn't seem to work properly.  I think it would act like

  if (!((opts & OPT_SYM_OWNER) | OPT_SYM_LINKS))

This clearly isn't intended since OPT_SYM_LINKS is a constant non-zero, such
that we never really fail invalid parameters.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89860 13f79535-47bb-0310-9956-ffa450edef68
server/request.c