From 113ad490d0feb2f68dcd872b6af3af88c0c0f364 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 8 Nov 2003 17:07:53 -0800 Subject: [PATCH] [svn] Fix core dump with --mirror. --- src/ChangeLog | 4 ++++ src/main.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b4ef0b10..1e430392 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-11-09 Hrvoje Niksic + + * main.c (option_data): Specify the command to use for --mirror. + 2003-11-08 Hrvoje Niksic * cookies.c (cookie_handle_set_cookie): Specify exact match for diff --git a/src/main.c b/src/main.c index d6f88d67..2cddd239 100644 --- a/src/main.c +++ b/src/main.c @@ -199,7 +199,7 @@ struct cmdline_option option_data[] = { "level", 'l', OPT_VALUE, "reclevel", -1 }, { "limit-rate", 0, OPT_VALUE, "limitrate", -1 }, { "load-cookies", 0, OPT_VALUE, "loadcookies", -1 }, - { "mirror", 'm', OPT_BOOLEAN, NULL, -1 }, + { "mirror", 'm', OPT_BOOLEAN, "mirror", -1 }, { "no", 'n', OPT__NO, NULL, required_argument }, { "no-clobber", 0, OPT_BOOLEAN, "noclobber", -1 }, { "no-parent", 0, OPT_BOOLEAN, "noparent", -1 }, -- 2.39.2