From: wessels <> Date: Sun, 24 Aug 1997 07:49:26 +0000 (+0000) Subject: ProtocolStr[] needs to be global for errorpage.c X-Git-Tag: SQUID_3_0_PRE1~4829 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=70cd3e321fc6180891a1c602a8cd623e4a129e83;p=thirdparty%2Fsquid.git ProtocolStr[] needs to be global for errorpage.c --- diff --git a/src/globals.h b/src/globals.h index 65fe313161..87499f7959 100644 --- a/src/globals.h +++ b/src/globals.h @@ -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" */ diff --git a/src/url.cc b/src/url.cc index 46a9dca91f..bf448d0036 100644 --- a/src/url.cc +++ b/src/url.cc @@ -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",