X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fmain.c;h=4eed7df9e1fcff4e4c81cfe12e6d76ce005c44d0;hb=d5be8ecca466601bda9b81c28a79077fbda6ccde;hp=833abf939d6abdfb2912bfcd6116b8a46ca292bb;hpb=de7f766f5891a1ed51f1e98b312dd1bab50123f6;p=wget diff --git a/src/main.c b/src/main.c index 833abf93..4eed7df9 100644 --- a/src/main.c +++ b/src/main.c @@ -472,7 +472,8 @@ hpVqvdkKsxmNWrHSLcFbEY:G:g:T:U:O:l:n:i:o:a:t:D:A:R:P:B:e:Q:X:I:w:C:", case 'V': printf ("GNU Wget %s\n\n", version_string); printf ("%s", _("\ -Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.\n\ +Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.\n")); + printf ("%s", _("\ This program is distributed in the hope that it will be useful,\n\ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\ @@ -726,7 +727,7 @@ Can't timestamp and not clobber old files at the same time.\n")); /* Fill in the arguments. */ for (i = 0; i < nurl; i++, optind++) { - char *rewritten = rewrite_url_maybe (argv[optind]); + char *rewritten = rewrite_shorthand_url (argv[optind]); if (rewritten) { printf ("Converted %s to %s\n", argv[optind], rewritten); @@ -844,10 +845,12 @@ Can't timestamp and not clobber old files at the same time.\n")); { convert_all_links (); } + log_close (); for (i = 0; i < nurl; i++) - free (url[i]); + xfree (url[i]); cleanup (); + #ifdef DEBUG_MALLOC print_malloc_debug_stats (); #endif