mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04: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