You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2020/06/29 16:29:58 UTC

svn commit: r1879340 - /httpd/httpd/trunk/modules/dav/main/mod_dav.c

Author: minfrin
Date: Mon Jun 29 16:29:58 2020
New Revision: 1879340

URL: http://svn.apache.org/viewvc?rev=1879340&view=rev
Log:
Begone foul tabs.

Modified:
    httpd/httpd/trunk/modules/dav/main/mod_dav.c

Modified: httpd/httpd/trunk/modules/dav/main/mod_dav.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/mod_dav.c?rev=1879340&r1=1879339&r2=1879340&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/main/mod_dav.c (original)
+++ httpd/httpd/trunk/modules/dav/main/mod_dav.c Mon Jun 29 16:29:58 2020
@@ -875,12 +875,12 @@ static int dav_method_get(request_rec *r
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
 
-	if (!resource->exists) {
+    if (!resource->exists) {
         /* Apache will supply a default error for this. */
         return HTTP_NOT_FOUND;
     }
@@ -928,7 +928,7 @@ static int dav_method_post(request_rec *
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -968,7 +968,7 @@ static int dav_method_put(request_rec *r
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -1259,7 +1259,7 @@ static int dav_method_delete(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -1712,7 +1712,7 @@ static int dav_method_options(request_re
     /* note: doc == NULL if no request body */
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -2138,7 +2138,7 @@ static int dav_method_propfind(request_r
     /* note: doc == NULL if no request body */
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -2422,7 +2422,7 @@ static int dav_method_proppatch(request_
     /* note: doc == NULL if no request body */
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -2639,7 +2639,7 @@ static int dav_method_mkcol(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -2774,7 +2774,7 @@ static int dav_method_copymove(request_r
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -2846,7 +2846,7 @@ static int dav_method_copymove(request_r
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, resnew, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, resnew, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3214,7 +3214,7 @@ static int dav_method_lock(request_rec *
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3419,7 +3419,7 @@ static int dav_method_unlock(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3490,7 +3490,7 @@ static int dav_method_vsn_control(reques
     /* note: doc == NULL if no request body */
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3743,7 +3743,7 @@ static int dav_method_checkout(request_r
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3825,7 +3825,7 @@ static int dav_method_uncheckout(request
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -3908,7 +3908,7 @@ static int dav_method_checkin(request_re
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4035,7 +4035,7 @@ static int dav_method_update(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4197,7 +4197,7 @@ static int dav_method_label(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4373,7 +4373,7 @@ static int dav_method_report(request_rec
     }
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4449,7 +4449,7 @@ static int dav_method_make_workspace(req
     }
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4514,7 +4514,7 @@ static int dav_method_make_activity(requ
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4645,7 +4645,7 @@ static int dav_method_merge(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, source_resource, NULL, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, source_resource, NULL, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4669,7 +4669,7 @@ static int dav_method_merge(request_rec
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, source_resource, resource, doc, &err) != DECLINED
+    if (dav_run_method_precondition(r, source_resource, resource, doc, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4742,7 +4742,7 @@ static int dav_method_bind(request_rec *
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, NULL, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }
@@ -4798,7 +4798,7 @@ static int dav_method_bind(request_rec *
         return dav_handle_err(r, err, NULL);
 
     /* check for any method preconditions */
-	if (dav_run_method_precondition(r, resource, binding, NULL, &err) != DECLINED
+    if (dav_run_method_precondition(r, resource, binding, NULL, &err) != DECLINED
             && err) {
         return dav_handle_err(r, err, NULL);
     }