mirror of
https://github.com/mirror/wget.git
synced 2025-01-16 23:30:17 +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. */
|
SYSTEM_WGETRC should not be defined under WINDOWS. */
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
char *home = home_dir ();
|
char *home = ws_mypath ();
|
||||||
xfree (file);
|
|
||||||
home = ws_mypath ();
|
|
||||||
if (home)
|
if (home)
|
||||||
{
|
{
|
||||||
file = aprintf ("%s/wget.ini", home);
|
file = aprintf ("%s/wget.ini", home);
|
||||||
|
Loading…
Reference in New Issue
Block a user