diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-05-02 23:39:11 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-05-02 23:39:11 -0400 |
commit | 62e34428d357f609be17a866638bedb45f935d8e (patch) | |
tree | e5921380a563c3d0a2fa7d1cee4524a9f26f3ad9 /WWW/Library/Implementation/HTTP.c | |
parent | 2a94396ccd9cf5ade728c53e02cba28e06af4378 (diff) | |
download | lynx-snapshots-62e34428d357f609be17a866638bedb45f935d8e.tar.gz |
snapshot of project "lynx", label v2-8-1dev_8
Diffstat (limited to 'WWW/Library/Implementation/HTTP.c')
-rw-r--r-- | WWW/Library/Implementation/HTTP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c index 4cd22539..c2e48411 100644 --- a/WWW/Library/Implementation/HTTP.c +++ b/WWW/Library/Implementation/HTTP.c @@ -33,6 +33,7 @@ #include <HTAABrow.h> #include <LYGlobalDefs.h> +#include <LYStrings.h> #include <LYLeaks.h> struct _HTStream @@ -307,8 +308,7 @@ try_again: strcpy(line, pref_charset); if (line[strlen(line)-1] == ',') line[strlen(line)-1] = '\0'; - for (i = 0; line[i]; i++) - line[i] = TOLOWER(line[i]); + LYLowerCase(line); if (strstr(line, "iso-8859-1") == NULL) strcat(line, ", iso-8859-1;q=0.01"); if (strstr(line, "us-ascii") == NULL) |