From f6e997b7f73d01db84665bc924ba2d065e314e43 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 2 Dec 2002 02:37:01 -0500 Subject: snapshot of project "lynx", label v2-8-5dev_11 --- src/LYGetFile.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/LYGetFile.c') diff --git a/src/LYGetFile.c b/src/LYGetFile.c index 2cf6c794..e8aeb252 100644 --- a/src/LYGetFile.c +++ b/src/LYGetFile.c @@ -35,10 +35,6 @@ PRIVATE int fix_httplike_urls PARAMS((DocInfo *doc, UrlTypes type)); -#ifdef VMS -extern BOOLEAN LYDidRename; -#endif /* VMS */ - #ifdef VMS #define STRNADDRCOMP strncasecomp #else @@ -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 -- cgit 1.4.1-2-gfad0