From d4a8ec3c8922a91d418bb9bc130c256c4e00d030 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sat, 21 Nov 1998 16:40:42 -0500 Subject: snapshot of project "lynx", label v2-8-2dev_5 --- src/LYShowInfo.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/LYShowInfo.c') diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c index decf40a5..3d3d9c42 100644 --- a/src/LYShowInfo.c +++ b/src/LYShowInfo.c @@ -49,7 +49,7 @@ PRIVATE char *lynx_compile_opts NOARGS BeginInternalPage (fp0, CONFIG_DEF_TITLE, NULL); fprintf(fp0, "
\n");
 
-	fprintf(fp0, "%s %s lynx.cfg %s\n\n",
+	fprintf(fp0, "%s %s lynx.cfg %s\n\n",
 	    SEE_ALSO,
 	    YOUR_SEGMENT,
 	    lynx_cfg_infopage(),
@@ -85,7 +85,6 @@ PUBLIC int showinfo ARGS4(
 	char *, 	owner_address)
 {
     static char tempfile[LY_MAXPATH];
-    static char *info_url;
     int url_type;
     FILE *fp0;
     char *Address = NULL, *Title = NULL;
@@ -104,12 +103,10 @@ PUBLIC int showinfo ARGS4(
 	return(-1);
     }
 
-    LYLocalFileToURL(&info_url, tempfile);
-
     /*
      *	Point the address pointer at this Url
      */
-    StrAllocCopy(newdoc->address, info_url);
+    LYLocalFileToURL(&newdoc->address, tempfile);
 
     if (nlinks > 0 && links[doc->link].lname != NULL &&
 	(url_type = is_url(links[doc->link].lname)) != 0 &&
-- 
cgit 1.4.1-2-gfad0