From 03b222bbbdbc58cbe5a4eb93e500d490800dee9c Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 17 Sep 1998 12:13:52 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_28 --- src/LYBookmark.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/LYBookmark.c') 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 */ -- cgit 1.4.1-2-gfad0