1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fix error message when $WGETRC not found.

Published in <sxswuzrylnm.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2001-12-13 11:19:03 -08:00
parent f031900662
commit 0f120eee66
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
* init.c (wgetrc_file_name): Print correct message when loading
getenv("WGETRC") fails.
2001-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
* recur.c (register_download): Don't abort when one URL references

View File

@ -301,7 +301,7 @@ wgetrc_file_name (void)
{
if (!file_exists_p (env))
{
fprintf (stderr, "%s: %s: %s.\n", exec_name, file, strerror (errno));
fprintf (stderr, "%s: %s: %s.\n", exec_name, env, strerror (errno));
exit (1);
}
return xstrdup (env);