]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Tue, 16 Jul 1996 05:11:54 +0000 (05:11 +0000)
committerwessels <>
Tue, 16 Jul 1996 05:11:54 +0000 (05:11 +0000)
src/cache_cf.cc
src/http.cc
src/stmem.cc

index dcf3156a4a1bbb3309848511ded56317293027d4..66bf59e0a67b1322ba2f55efbf9e57e2495fbfec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cache_cf.cc,v 1.59 1996/07/11 22:44:11 wessels Exp $
+ * $Id: cache_cf.cc,v 1.60 1996/07/15 23:11:54 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -273,7 +273,7 @@ ip_acl *firewall_ip_list = NULL;
 int zap_disk_store = 0;                /* off, try to rebuild from disk */
 int httpd_accel_mode = 0;      /* for fast access */
 int emulate_httpd_log = DefaultCommonLogFormat;                /* for fast access */
-int identLookup = DefaultIdentLookup;                  /* for fast access */
+int identLookup = DefaultIdentLookup;  /* for fast access */
 time_t neighbor_timeout = DefaultNeighborTimeout;      /* for fast access */
 int single_parent_bypass = 0;
 int DnsPositiveTtl = DefaultPositiveDnsTtl;
@@ -909,7 +909,7 @@ static void parseRedirectProgramLine()
 }
 
 static void parseOnOff(var)
-       int *var;
+     int *var;
 {
     char *token;
     token = strtok(NULL, w_space);
index 0b89c61042ecd38c859a284fb62d0eaee708d92d..43508a5c969fe9ec9a30c637a5b99961fe0cd08e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: http.cc,v 1.60 1996/07/12 17:39:00 wessels Exp $
+ * $Id: http.cc,v 1.61 1996/07/15 23:15:16 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -732,9 +732,9 @@ int proxyhttpStart(e, url, entry)
 }
 
 static int httpConnect(fd, hp, data)
-       int fd;
-       struct hostent *hp;
-       void *data;
+     int fd;
+     struct hostent *hp;
+     void *data;
 {
     HttpStateData *httpState = data;
     request_t *request = httpState->request;
@@ -753,8 +753,8 @@ static int httpConnect(fd, hp, data)
            squid_error_entry(entry, ERR_CONNECT_FAIL, xstrerror());
            comm_close(fd);
            if ((e = httpState->neighbor)) {
-               e->last_fail_time = squid_curtime;
-               e->neighbor_up = 0;
+               e->last_fail_time = squid_curtime;
+               e->neighbor_up = 0;
            }
            return COMM_ERROR;
        } else {
index 1b6643c1344ced5fe1d069538a8cb34bfa17153a..dd5b0a0ba54a3e391a5a866fddd236c88ae02e50 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: stmem.cc,v 1.11 1996/07/12 17:41:51 wessels Exp $
+ * $Id: stmem.cc,v 1.12 1996/07/15 23:16:41 wessels Exp $
  *
  * DEBUG: section 19    Memory Primitives
  * AUTHOR: Harvest Derived
@@ -116,8 +116,8 @@ stmem_stats mem_obj_pool;
 #define USE_MEMALIGN 0
 #endif
 
-static void *get_free_thing _PARAMS((stmem_stats *thing));
-static void put_free_thing _PARAMS((stmem_stats *thing, void *p));
+static void *get_free_thing _PARAMS((stmem_stats * thing));
+static void put_free_thing _PARAMS((stmem_stats * thing, void *p));
 
 
 void memFree(mem)
@@ -380,15 +380,15 @@ mem_ptr memInit()
 }
 
 static void *get_free_thing(thing)
-       stmem_stats *thing;
+     stmem_stats *thing;
 {
     void *p = NULL;
     if (!empty_stack(&thing->free_page_stack)) {
-        p = pop(&thing->free_page_stack);
-        if (p == NULL)
+       p = pop(&thing->free_page_stack);
+       if (p == NULL)
            fatal_dump("get_free_thing: NULL pointer?");
     } else {
-        p = xmalloc(thing->page_size);
+       p = xmalloc(thing->page_size);
        thing->total_pages_allocated++;
     }
     thing->n_pages_in_use++;
@@ -417,8 +417,8 @@ char *get_free_8k_page()
 }
 
 static void put_free_thing(thing, p)
-       stmem_stats *thing;
-       void *p;
+     stmem_stats *thing;
+     void *p;
 {
     thing->n_pages_in_use--;
     if (thing->total_pages_allocated > thing->max_pages) {
@@ -428,7 +428,7 @@ static void put_free_thing(thing, p)
        xfree(p);
        thing->total_pages_allocated--;
     } else {
-        push(&thing->free_page_stack, p);
+       push(&thing->free_page_stack, p);
     }
 }