httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1557317 - /httpd/httpd/trunk/modules/dav/main/std_liveprop.c
Date Sat, 11 Jan 2014 06:33:00 GMT
Author: jailletc36
Date: Sat Jan 11 06:32:59 2014
New Revision: 1557317

URL: http://svn.apache.org/r1557317
Log:
Style, indentation. No functional change.

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

Modified: httpd/httpd/trunk/modules/dav/main/std_liveprop.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/std_liveprop.c?rev=1557317&r1=1557316&r2=1557317&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/dav/main/std_liveprop.c (original)
+++ httpd/httpd/trunk/modules/dav/main/std_liveprop.c Sat Jan 11 06:32:59 2014
@@ -86,18 +86,18 @@ static dav_prop_insert dav_core_insert_p
                     continue;
 
                 if (!res_hooks->get_resource_type(resource, &name, &uri) &&
-            name) {
+                    name) {
 
                     if (!uri || !strcasecmp(uri, "DAV:"))
                         value = apr_pstrcat(p, value ? value : "",
-                        "<D:", name, "/>", NULL);
-            else
+                                            "<D:", name, "/>", NULL);
+                    else
                         value = apr_pstrcat(p, value ? value : "",
-                        "<x:", name,
-                        " xmlns:x=\"", uri,
-                        "\"/>", NULL);
+                                            "<x:", name,
+                                            " xmlns:x=\"", uri,
+                                            "\"/>", NULL);
                 }
-        }
+            }
         }
         switch (resource->type) {
         case DAV_RESOURCE_TYPE_VERSION:
@@ -114,8 +114,8 @@ static dav_prop_insert dav_core_insert_p
             else {
                 /* ### should we denote lock-null resources? */
                 if (value == NULL) {
-                value = "";        /* becomes: <D:resourcetype/> */
-            }
+                    value = "";        /* becomes: <D:resourcetype/> */
+                }
             }
             break;
         case DAV_RESOURCE_TYPE_HISTORY:



Mime
View raw message