about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2015-12-18 10:24:31 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2015-12-18 10:24:31 -0500
commit492a0d967f18ea86e415e3ba5c7f19a112ba76c4 (patch)
treed03beef54804ff1099e64096fbaeaa1727073e67 /src
parent2bfd7597b7533894c71385f833a91b3d88ee8506 (diff)
downloadlynx-snapshots-492a0d967f18ea86e415e3ba5c7f19a112ba76c4.tar.gz
snapshot of project "lynx", label v2-8-9dev_6s
Diffstat (limited to 'src')
-rw-r--r--src/LYReadCFG.c3
-rw-r--r--src/LYrcFile.c4
-rw-r--r--src/LYrcFile.h3
3 files changed, 6 insertions, 4 deletions
diff --git a/src/LYReadCFG.c b/src/LYReadCFG.c
index 81950c64..d2ae340b 100644
--- a/src/LYReadCFG.c
+++ b/src/LYReadCFG.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYReadCFG.c,v 1.186 2015/10/10 00:31:57 tom Exp $
+ * $LynxId: LYReadCFG.c,v 1.187 2015/12/18 01:58:34 tom Exp $
  */
 #ifndef NO_RULES
 #include <HTRules.h>
@@ -1559,6 +1559,7 @@ static Config_Type Config_Table [] =
      PARSE_FUN(RC_HTMLSRC_ATTRNAME_XFORM, read_htmlsrc_attrname_xform),
      PARSE_FUN(RC_HTMLSRC_TAGNAME_XFORM, read_htmlsrc_tagname_xform),
 #endif
+     PARSE_FUN(RC_HTTP_PROTOCOL,        get_http_protocol),
      PARSE_Env(RC_HTTP_PROXY,           0),
      PARSE_Env(RC_HTTPS_PROXY,          0),
      PARSE_REQ(RC_INCLUDE,              0),
diff --git a/src/LYrcFile.c b/src/LYrcFile.c
index 46390618..31ada641 100644
--- a/src/LYrcFile.c
+++ b/src/LYrcFile.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYrcFile.c,v 1.94 2015/12/18 00:55:15 tom Exp $ */
+/* $LynxId: LYrcFile.c,v 1.95 2015/12/18 01:57:45 tom Exp $ */
 #include <HTUtils.h>
 #include <HTFTP.h>
 #include <LYUtils.h>
@@ -309,7 +309,7 @@ static void put_editor(FILE *fp, struct config_type *tbl)
     fprintf(fp, "%s=%s\n\n", tbl->name, NonNull(editor));
 }
 
-static int get_http_protocol(char *value)
+int get_http_protocol(char *value)
 {
     int found = HTprotocolLevel;
 
diff --git a/src/LYrcFile.h b/src/LYrcFile.h
index 501789b6..32003b66 100644
--- a/src/LYrcFile.h
+++ b/src/LYrcFile.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYrcFile.h,v 1.47 2015/12/18 00:31:43 tom Exp $
+ * $LynxId: LYrcFile.h,v 1.48 2015/12/18 01:58:05 tom Exp $
  */
 #ifndef LYRCFILE_H
 #define LYRCFILE_H
@@ -299,6 +299,7 @@ extern BOOL LYsetRcValue(const char *name, const char *param);
 extern BOOL will_save_rc(const char *name);
 extern const char *LYputEnum(Config_Enum * table, int value);
 extern int enable_lynxrc(char *value);
+extern int get_http_protocol(char *value);
 extern int get_tagsoup(char *value);
 extern int save_rc(FILE *);
 extern void read_rc(FILE *);