diff --git a/src/ChangeLog b/src/ChangeLog index 08266a73..44d4b54d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-04-22 Tim Ruehsen + + * main.c (main): Dynamically allocate `opt.progress_type'. + 2012-04-21 Tim Ruehsen * ftp-basic.c (ftp_pasv): Fix memory leak. diff --git a/src/main.c b/src/main.c index a12aaf1b..438085e4 100644 --- a/src/main.c +++ b/src/main.c @@ -1299,7 +1299,7 @@ for details.\n\n")); } if (opt.warc_keep_log) { - opt.progress_type = "dot"; + opt.progress_type = xstrdup ("dot"); } }