about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-07-22 11:57:03 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-07-22 11:57:03 -0400
commit36863953e4886d5269a325c93bd433847694a5fb (patch)
tree485d1197eea38785b908bcdc1e0f228ab90b80e1 /WWW/Library
parent57bfc74ff4ec4c2980b2330f2badc54a8990842d (diff)
downloadlynx-snapshots-36863953e4886d5269a325c93bd433847694a5fb.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-38
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTAccess.c2
-rw-r--r--WWW/Library/Implementation/HTAtom.c2
-rw-r--r--WWW/Library/Implementation/HTTP.h11
3 files changed, 10 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTAccess.c b/WWW/Library/Implementation/HTAccess.c
index 440cb1b1..0c85ae52 100644
--- a/WWW/Library/Implementation/HTAccess.c
+++ b/WWW/Library/Implementation/HTAccess.c
@@ -40,6 +40,7 @@
 #endif
 
 #include "HTUtils.h"
+#include "HTTP.h"
 #include "HTAlert.h"
 /*
 **  Implements:
@@ -605,7 +606,6 @@ PRIVATE BOOL HTLoadDocument ARGS4(
     extern char * HTLoadedDocumentURL NOPARAMS;		   /* in GridText.c */
     extern BOOL HText_hasNoCacheSet PARAMS((HText *text)); /* in GridText.c */
     extern BOOL reloading;
-    extern char *redirecting_url;
     extern BOOL permanent_redirection;
     char *cp;
     BOOL ForcingNoCache = LYforce_no_cache;
diff --git a/WWW/Library/Implementation/HTAtom.c b/WWW/Library/Implementation/HTAtom.c
index 8286f49b..8fc95d16 100644
--- a/WWW/Library/Implementation/HTAtom.c
+++ b/WWW/Library/Implementation/HTAtom.c
@@ -38,7 +38,7 @@ PRIVATE void free_atoms NOPARAMS;
 /*
  *	Alternate hashing function.
  */
-#define HASH_FUNCTION(cp_hash) ((strlen(cp_hash) * *cp_hash) % HASH_SIZE)
+#define HASH_FUNCTION(cp_hash) ((strlen(cp_hash) * (unsigned char)*cp_hash) % HASH_SIZE)
 
 PUBLIC HTAtom * HTAtom_for ARGS1(CONST char *, string)
 {
diff --git a/WWW/Library/Implementation/HTTP.h b/WWW/Library/Implementation/HTTP.h
index c97369fb..92f1951c 100644
--- a/WWW/Library/Implementation/HTTP.h
+++ b/WWW/Library/Implementation/HTTP.h
@@ -1,6 +1,6 @@
 /*                     /Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTTP.html
                                 HYPERTEXT TRANFER PROTOCOL
-                                             
+
  */
 #ifndef HTTP_H
 #define HTTP_H
@@ -19,10 +19,15 @@ GLOBALREF HTProtocol HTTPS;
 #define URL_POST_METHOD 2
 #define URL_MAIL_METHOD 3
 
+extern BOOL reloading;
+extern char * redirecting_url;
+extern BOOL permanent_redirection;
+extern BOOL redirect_post_content;
+
 #endif /* HTTP_H */
 
 /*
 
    end of HTTP module definition
-   
-    */
+
+ */