You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fu...@apache.org on 2009/10/27 19:36:26 UTC

svn commit: r830284 - in /httpd/httpd/trunk/modules/dav: fs/repos.c main/mod_dav.h

Author: fuankg
Date: Tue Oct 27 18:36:26 2009
New Revision: 830284

URL: http://svn.apache.org/viewvc?rev=830284&view=rev
Log:
fixed dav_hooks_repository_fs struct member order, fixed comments.
Submitted by brian brianfrance.com.

Modified:
    httpd/httpd/trunk/modules/dav/fs/repos.c
    httpd/httpd/trunk/modules/dav/main/mod_dav.h

Modified: httpd/httpd/trunk/modules/dav/fs/repos.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/repos.c?rev=830284&r1=830283&r2=830284&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/fs/repos.c (original)
+++ httpd/httpd/trunk/modules/dav/fs/repos.c Tue Oct 27 18:36:26 2009
@@ -211,7 +211,7 @@
 **
 ** PRIVATE REPOSITORY FUNCTIONS
 */
-request_rec *dav_fs_get_request_rec(const dav_resource *resource)
+static request_rec *dav_fs_get_request_rec(const dav_resource *resource)
 {
     return resource->info->r;
 }
@@ -1823,9 +1823,9 @@
     dav_fs_remove_resource,
     dav_fs_walk,
     dav_fs_getetag,
+    NULL,
     dav_fs_get_request_rec,
-    dav_fs_pathname,
-    NULL
+    dav_fs_pathname
 };
 
 static dav_prop_insert dav_fs_insert_prop(const dav_resource *resource,

Modified: httpd/httpd/trunk/modules/dav/main/mod_dav.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/mod_dav.h?rev=830284&r1=830283&r2=830284&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/main/mod_dav.h (original)
+++ httpd/httpd/trunk/modules/dav/main/mod_dav.h Tue Oct 27 18:36:26 2009
@@ -1941,10 +1941,10 @@
     */
     void *ctx;
 
-    /* return request record */
+    /* Get the request rec for a resource */
     request_rec * (*get_request_rec)(const dav_resource *resource);
 
-    /* return path */
+    /* Get the pathname for a resource */
     const char * (*get_pathname)(const dav_resource *resource);
 };