]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ProtocolStr[] needs to be global for errorpage.c
authorwessels <>
Sun, 24 Aug 1997 07:49:26 +0000 (07:49 +0000)
committerwessels <>
Sun, 24 Aug 1997 07:49:26 +0000 (07:49 +0000)
src/globals.h
src/url.cc

index 65fe3131613df7dc4e3e0aeea85ed9945c8bbf9e..87499f795965947246fbc65bcb9ac9c43e1ce5a8 100644 (file)
@@ -19,6 +19,7 @@ extern const char *AclMatchedName;    /* NULL */
 extern const char *DefaultConfigFile;  /* DEFAULT_CONFIG_FILE */
 extern const char *DefaultSwapDir;     /* DEFAULT_SWAP_DIR */
 extern const char *RequestMethodStr[];
+extern const char *ProtocolStr[];
 extern const char *cfg_filename;       /* NULL */
 extern const char *const appname;      /* "squid" */
 extern const char *const close_bracket;                /* "}\n" */
index 46a9dca91f623cf9f0f5987d7846da7967ca0ab8..bf448d0036fb6c5ce13db68477b2dca73c441f04 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: url.cc,v 1.62 1997/08/10 06:34:33 wessels Exp $
+ * $Id: url.cc,v 1.63 1997/08/24 01:49:26 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels
@@ -43,7 +43,7 @@ const char *RequestMethodStr[] =
     "PURGE"
 };
 
-static char *ProtocolStr[] =
+const char *ProtocolStr[] =
 {
     "NONE",
     "http",