diff options
Diffstat (limited to 'WWW/Library')
-rw-r--r-- | WWW/Library/Implementation/HTAccess.c | 2 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTAtom.c | 2 | ||||
-rw-r--r-- | WWW/Library/Implementation/HTTP.h | 11 |
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 - - */ + + */ |