]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Fri, 19 Jul 1996 23:41:30 +0000 (23:41 +0000)
committerwessels <>
Fri, 19 Jul 1996 23:41:30 +0000 (23:41 +0000)
src/store.cc
src/url.cc

index 12c05634212b318df0adc480b23dc1093dad5532..919a408ee78dd8f9baae06ce71813c29c892707f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: store.cc,v 1.71 1996/07/19 17:36:19 wessels Exp $
+ * $Id: store.cc,v 1.72 1996/07/19 17:41:30 wessels Exp $
  *
  * DEBUG: section 20    Storeage Manager
  * AUTHOR: Harvest Derived
@@ -412,7 +412,7 @@ static void storeLog(tag, e)
      int tag;
      StoreEntry *e;
 {
-    LOCAL_ARRAY(char,logmsg,MAX_URL<<1);
+    LOCAL_ARRAY(char, logmsg, MAX_URL << 1);
     time_t t;
     int expect_len = 0;
     int actual_len = 0;
@@ -1206,7 +1206,7 @@ static int storeSwapInStart(e, swapin_complete_handler, swapin_complete_data)
 static void storeSwapLog(e)
      StoreEntry *e;
 {
-    LOCAL_ARRAY(char,logmsg,MAX_URL<<1);
+    LOCAL_ARRAY(char, logmsg, MAX_URL << 1);
     /* Note this printf format appears in storeWriteCleanLog() too */
     sprintf(logmsg, "%08x %08x %08x %08x %9d %s\n",
        (int) e->swap_file_number,
@@ -1407,15 +1407,15 @@ static int storeDoRebuildFromDisk(data)
        scan3 = 0;
        scan4 = 0;
        x = sscanf(data->line_in, "%x %x %x %x %d %s",
-               &sfileno,       /* swap_file_number */
-               &scan1,         /* timestamp */
-               &scan2,         /* expires */
-               &scan3,         /* last modified */
-               &scan4,         /* size */
-               url);           /* url */
+           &sfileno,           /* swap_file_number */
+           &scan1,             /* timestamp */
+           &scan2,             /* expires */
+           &scan3,             /* last modified */
+           &scan4,             /* size */
+           url);               /* url */
        debug(20, 9, "x = %d\n", x);
        if (x > 0)
-               storeSwapFullPath(sfileno, swapfile);
+           storeSwapFullPath(sfileno, swapfile);
        if (x != 6) {
            if (opt_unlink_on_reload && swapfile[0])
                safeunlink(swapfile, 0);
@@ -2699,8 +2699,8 @@ void storeSanityCheck()
     if (ncache_dirs < 1)
        storeAddSwapDisk(DefaultSwapDir);
 
-     for (i = 0; i < SWAP_DIRECTORIES_L1; i++) {
-       sprintf(name, "%s/%02X", swappath(i), i);
+    for (i = 0; i < SWAP_DIRECTORIES_L1; i++) {
+       sprintf(name, "%s/%02X", swappath(i), i);
        errno = 0;
        if (access(name, W_OK)) {
            /* A very annoying problem occurs when access() fails because
index 7473e7f8728093a7b17715886494a04ffff8dc0b..2c6d740aca6b781a7ebd5c893ba1592c5f66c72a 100644 (file)
@@ -1,5 +1,6 @@
+
 /*
- * $Id: url.cc,v 1.24 1996/07/18 20:27:12 wessels Exp $
+ * $Id: url.cc,v 1.25 1996/07/19 17:41:31 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels