diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2002-12-02 02:37:01 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2002-12-02 02:37:01 -0500 |
commit | f6e997b7f73d01db84665bc924ba2d065e314e43 (patch) | |
tree | e5a6682d03360506ad1db6b3d1f5934a5911db50 /src/LYGetFile.c | |
parent | 0cb11571ef3a2820a888b47eaa0ea3083e3b9b0f (diff) | |
download | lynx-snapshots-f6e997b7f73d01db84665bc924ba2d065e314e43.tar.gz |
snapshot of project "lynx", label v2-8-5dev_11
Diffstat (limited to 'src/LYGetFile.c')
-rw-r--r-- | src/LYGetFile.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/LYGetFile.c b/src/LYGetFile.c index 2cf6c794..e8aeb252 100644 --- a/src/LYGetFile.c +++ b/src/LYGetFile.c @@ -36,10 +36,6 @@ PRIVATE int fix_httplike_urls PARAMS((DocInfo *doc, UrlTypes type)); #ifdef VMS -extern BOOLEAN LYDidRename; -#endif /* VMS */ - -#ifdef VMS #define STRNADDRCOMP strncasecomp #else #define STRNADDRCOMP strncmp @@ -1581,7 +1577,7 @@ PRIVATE int fix_httplike_urls ARGS2( } if (type == HTTP_URL_TYPE || type == HTTPS_URL_TYPE) { - if ((slash-2) - strchr(doc->address, ':')) { + if ((slash-2) != strchr(doc->address, ':')) { /* * Turns out we were not looking at the right slash after all, * there must have been more than one "://" which is valid |