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:
Ángel González 2015-06-27 21:32:48 +02:00 committed by Tim Rühsen
parent 58702ffd4f
commit ae58d8a78b
1 changed files with 1 additions and 3 deletions

View File

@ -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);