]> granicus.if.org Git - apache/commitdiff
Fix some formatting. No function change.
authorBill Stoddard <stoddard@apache.org>
Mon, 25 Feb 2002 19:10:05 +0000 (19:10 +0000)
committerBill Stoddard <stoddard@apache.org>
Mon, 25 Feb 2002 19:10:05 +0000 (19:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93568 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/cache_util.c

index 460ed60a397506f04c18aefc035fd2ff212a3c98..91a8f62aeaedcbdf3ef84001af56cfac55934108 100644 (file)
@@ -163,17 +163,17 @@ CACHE_DECLARE(int) ap_cache_liststr(const char *list, const char *key, char **va
             i--;
         if (i == len && strncasecmp(list, key, len) == 0) {
             if (val) {
-            p = strchr((char *) list, ',');
-            while (ap_isspace(*list)) {
-                list++;
-            }
-            if ('=' == list[0])
-                list++;
-            while (ap_isspace(*list)) {
-                list++;
-            }
-            strncpy(valbuf, list, MIN(p-list, sizeof(valbuf)-1));
-            *val = valbuf;
+                p = strchr((char *) list, ',');
+                while (ap_isspace(*list)) {
+                    list++;
+                }
+                if ('=' == list[0])
+                    list++;
+                while (ap_isspace(*list)) {
+                    list++;
+                }
+                strncpy(valbuf, list, MIN(p-list, sizeof(valbuf)-1));
+                *val = valbuf;
             }
             return 1;
         }
@@ -300,4 +300,4 @@ CACHE_DECLARE(char *)generate_name(apr_pool_t *p, int dirlevels, int dirlength,
     char hashfile[66];
     cache_hash(name, hashfile, dirlevels, dirlength);
     return apr_pstrdup(p, hashfile);
-}
\ No newline at end of file
+}