diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-19 01:14:00 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-19 01:14:00 -0400 |
commit | 443226a5ffcf805f6ab3ccbcc2a6b4802793b07d (patch) | |
tree | b6f0dca30c155e9ea2fa8ec78271fb44744b05ce /WWW/Library/Implementation/HTTP.c | |
parent | d2e46bbfcbedb43938b866f4ad9e8bf1d4084b7c (diff) | |
download | lynx-snapshots-443226a5ffcf805f6ab3ccbcc2a6b4802793b07d.tar.gz |
snapshot of project "lynx", label v2-7-1ac_0-69
Diffstat (limited to 'WWW/Library/Implementation/HTTP.c')
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index d5aef1e8..9c08a170 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -105,7 +105,7 @@ PUBLIC int HTLoadHTTP ARGS4 ( HTStream*, sink) { int s; /* Socket number for returned data */ - char *url = (char *)arg; /* The URL which get_physical() returned */ + CONST char *url = arg; /* The URL which get_physical() returned */ char *command = NULL; /* The whole command */ char *eol; /* End of line if found */ char *start_of_data; /* Start of body of reply */ @@ -1307,7 +1307,6 @@ Cookie2_continuation: if (TOUPPER(*cp) != 'L') { cp++; } else if (!strncasecomp(cp, "Location:", 9)) { - char *value = NULL; char *cp1 = NULL, *cp2 = NULL; cp += 9; /* |