]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
only one w_space variable
authorwessels <>
Thu, 15 May 1997 07:18:41 +0000 (07:18 +0000)
committerwessels <>
Thu, 15 May 1997 07:18:41 +0000 (07:18 +0000)
src/acl.cc
src/cache_cf.cc
src/debug.cc
src/fqdncache.cc
src/ftp.cc
src/ipcache.cc
src/main.cc
src/mime.cc
src/net_db.cc
src/squid.h

index 8c1f1fbe94faafadc087c9b9c0159b8b42f35198..2ac747cb1315eea7fdbfd542f761b4271c802bd1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: acl.cc,v 1.94 1997/05/02 04:28:32 wessels Exp $
+ * $Id: acl.cc,v 1.95 1997/05/15 01:18:41 wessels Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -43,7 +43,6 @@ const char *AclMatchedName = NULL;
 
 static struct _acl *AclList = NULL;
 static struct _acl **AclListTail = &AclList;
-static const char *const w_space = " \t\n\r";  /* Jasper sez so */
 static int aclFromFile = 0;
 static FILE *aclFile;
 
index 0a7f4c0026b063b10ce43c7ecbc1419fb20ee36a..ed224ab9e8d67a63535141fcae4287d3df337d76 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cache_cf.cc,v 1.185 1997/05/15 01:06:50 wessels Exp $
+ * $Id: cache_cf.cc,v 1.186 1997/05/15 01:18:42 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -225,7 +225,6 @@ const char *DefaultConfigFile = DEFAULT_CONFIG_FILE;
 char *ConfigFile = NULL;       /* the whole thing */
 const char *cfg_filename = NULL;       /* just the last part */
 
-static const char *const w_space = " \t\n\r";
 static const char *const list_sep = ", \t\n\r";
 char config_input_line[BUFSIZ];
 int config_lineno = 0;
index d6a9724eeff772211f659fbf3d668dbb9c8f3b03..33b29557d5ec38820307f6a7b2fbbf99b5230e17 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: debug.cc,v 1.42 1997/01/31 21:16:48 wessels Exp $
+ * $Id: debug.cc,v 1.43 1997/05/15 01:18:43 wessels Exp $
  *
  * DEBUG: section 0     Debug Routines
  * AUTHOR: Harvest Derived
 
 FILE *debug_log = NULL;
 static char *debug_log_file = NULL;
-static const char *const w_space = " \t\n\r";
 
 #define MAX_DEBUG_SECTIONS 100
 static int debugLevels[MAX_DEBUG_SECTIONS];
index 383a04d973524eb88829bccee0a36652f4f0bdd5..a1ac700c6ee98945bf694da1e73ccc8ffb1564ef 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: fqdncache.cc,v 1.53 1997/05/05 03:43:42 wessels Exp $
+ * $Id: fqdncache.cc,v 1.54 1997/05/15 01:18:43 wessels Exp $
  *
  * DEBUG: section 35    FQDN Cache
  * AUTHOR: Harvest Derived
@@ -172,7 +172,6 @@ static char fqdncache_status_char[] =
 
 static long fqdncache_low = 180;
 static long fqdncache_high = 200;
-static const char *const w_space = " \t\n\r";
 
 static void
 fqdncacheEnqueue(fqdncache_entry * f)
index e326a1cec5b553bd334907ee0af96e2869b26570..64ba159ec936149ce16332574686e2cea5a9e5b5 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ftp.cc,v 1.105 1997/05/15 01:06:54 wessels Exp $
+ * $Id: ftp.cc,v 1.106 1997/05/15 01:18:44 wessels Exp $
  *
  * DEBUG: section 9     File Transfer Protocol (FTP)
  * AUTHOR: Harvest Derived
 static int ftpget_server_read = -1;
 static int ftpget_server_write = -1;
 static u_short ftpget_port = 0;
-static const char *const w_space = " \t\n\r";
 
 typedef struct _Ftpdata {
     StoreEntry *entry;
index 3614f97f2b81ffb1afd5a9989cd4e8cc2b27a3d2..20f1e5c9e1bbdb028571ad3de5fe373466c825b3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipcache.cc,v 1.114 1997/05/05 03:43:46 wessels Exp $
+ * $Id: ipcache.cc,v 1.115 1997/05/15 01:18:45 wessels Exp $
  *
  * DEBUG: section 14    IP Cache
  * AUTHOR: Harvest Derived
@@ -174,7 +174,6 @@ static char ipcache_status_char[] =
 
 static long ipcache_low = 180;
 static long ipcache_high = 200;
-static const char *const w_space = " \t\n\r";
 
 #if LIBRESOLV_DNS_TTL_HACK
 extern int _dns_ttl_;
index 36b0c02bf6eabc4f21b36c14d7898846c19b1d91..4637008c8fbcb5699ccb18375d2c0eac69674682 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.cc,v 1.144 1997/05/15 01:06:58 wessels Exp $
+ * $Id: main.cc,v 1.145 1997/05/15 01:18:46 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -139,6 +139,7 @@ struct in_addr no_addr;
 struct in_addr theOutICPAddr;
 const char *const dash_str = "-";
 const char *const null_string = "";
+const char *const w_space = " \t\n\r";
 char ThisCache[SQUIDHOSTNAMELEN << 1];
 
 /* for error reporting from xmalloc and friends */
index f845a35fd0ec530836b26bc51a95344b4bed9e5b..fe4f6411f25f1eb683ec0e115740801820785739 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: mime.cc,v 1.28 1997/05/15 01:06:59 wessels Exp $
+ * $Id: mime.cc,v 1.29 1997/05/15 01:18:46 wessels Exp $
  *
  * DEBUG: section 25    MIME Parsing
  * AUTHOR: Harvest Derived
@@ -120,10 +120,6 @@ typedef struct _mime_entry {
 static mimeEntry *MimeTable = NULL;
 static mimeEntry **MimeTableTail = NULL;
 
-static const char *const w_space = " \t\n\r";
-static const char *const dash_str = "-";
-
-
 char *
 mime_get_header(const char *mime, const char *name)
 {
index 1c7407f02fa2009241ee6652167b71257e23f9f4..62ba5e18357cc12ba929bf1ae3f7c4ba5dd2450e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: net_db.cc,v 1.34 1997/04/30 20:06:33 wessels Exp $
+ * $Id: net_db.cc,v 1.35 1997/05/15 01:18:47 wessels Exp $
  *
  * DEBUG: section 37    Network Measurement Database
  * AUTHOR: Duane Wessels
@@ -56,7 +56,6 @@ static IPH netdbSendPing;
  * linked list */
 static wordlist *peer_names = NULL;
 static wordlist **peer_names_tail = &peer_names;
-static const char *const w_space = " \t\n\r";
 
 static void
 netdbHashInsert(netdbEntry * n, struct in_addr addr)
index b1512b1a8c92464ff62ac3ee62f4cd76e173d962..746aab3cd541cd49c268e05015661bd69523cf12 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: squid.h,v 1.111 1997/05/15 01:07:02 wessels Exp $
+ * $Id: squid.h,v 1.112 1997/05/15 01:18:48 wessels Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -367,6 +367,7 @@ extern int httpAnonDenied _PARAMS((const char *line));
 
 extern const char *const dash_str;
 extern const char *const null_string;
+extern const char *const w_space;
 
 #define OR(A,B) (A ? A : B)