about summary refs log tree commit diff stats
path: root/src/LYBookmark.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-09-17 12:13:52 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-09-17 12:13:52 -0400
commit03b222bbbdbc58cbe5a4eb93e500d490800dee9c (patch)
tree317783cc00147ee45e2cadfa578b6e468581343c /src/LYBookmark.c
parent02f2851492143446abaaa33cc9536fade7b51124 (diff)
downloadlynx-snapshots-03b222bbbdbc58cbe5a4eb93e500d490800dee9c.tar.gz
snapshot of project "lynx", label v2-8-1dev_28
Diffstat (limited to 'src/LYBookmark.c')
-rw-r--r--src/LYBookmark.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/LYBookmark.c b/src/LYBookmark.c
index 60dcda52..31e27beb 100644
--- a/src/LYBookmark.c
+++ b/src/LYBookmark.c
@@ -44,7 +44,6 @@ PRIVATE char * convert_mosaic_bookmark_file PARAMS((char *filename_buffer));
 PUBLIC char * get_bookmark_filename ARGS1(
 	char **,	URL)
 {
-    char URL_buffer[256];
     static char filename_buffer[256];
     char string_buffer[256];
     FILE *fp;
@@ -113,14 +112,13 @@ success:
 	is_mosaic_hotlist = TRUE;
 	fclose(fp);
 	newname = convert_mosaic_bookmark_file(filename_buffer);
-	LYLocalFileToURL(URL_buffer, newname);
+	LYLocalFileToURL(URL, newname);
     } else {
 	fclose(fp);
 	is_mosaic_hotlist = FALSE;
-	LYLocalFileToURL(URL_buffer, filename_buffer);
+	LYLocalFileToURL(URL, filename_buffer);
     }
 
-    StrAllocCopy(*URL, URL_buffer);
     return(filename_buffer);  /* bookmark file exists */
 
 } /* big end */