mirror of
https://github.com/mirror/wget.git
synced 2025-01-16 15:21:14 +08:00
Fix wgetrc filename creation for Windows
* init.c/wgetrc_file_name: Remove obsolete code in WINDOWS code path Reported-by: Gisle Vanem <gvanem@yahoo.no>
This commit is contained in:
parent
58702ffd4f
commit
ae58d8a78b
@ -566,9 +566,7 @@ wgetrc_file_name (void)
|
||||
SYSTEM_WGETRC should not be defined under WINDOWS. */
|
||||
if (!file)
|
||||
{
|
||||
char *home = home_dir ();
|
||||
xfree (file);
|
||||
home = ws_mypath ();
|
||||
char *home = ws_mypath ();
|
||||
if (home)
|
||||
{
|
||||
file = aprintf ("%s/wget.ini", home);
|
||||
|
Loading…
Reference in New Issue
Block a user