]> granicus.if.org Git - apache/commitdiff
* lfi is already a pointer in contrast fi which was used before.
authorRuediger Pluem <rpluem@apache.org>
Mon, 3 Mar 2008 17:02:19 +0000 (17:02 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 3 Mar 2008 17:02:19 +0000 (17:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@633174 13f79535-47bb-0310-9956-ffa450edef68

server/request.c

index e62a1e601514000ef32a3883c3a30b0000653420..f7153f9075def759812b3e7e55138ca864e41826 100644 (file)
@@ -354,7 +354,7 @@ static int resolve_symlink(char *d, apr_finfo_t *lfi, int opts, apr_pool_t *p)
      * owner of the symlink, then get the info of the target.
      */
     if (!(lfi->valid & APR_FINFO_OWNER)) {
-        if ((res = apr_stat(&lfi, d,
+        if ((res = apr_stat(lfi, d,
                             lfi->valid | APR_FINFO_LINK | APR_FINFO_OWNER, p))
             != APR_SUCCESS) {
             return HTTP_FORBIDDEN;