From b15ddc5b716d904abc9df01ec6ad9e63909b591b Mon Sep 17 00:00:00 2001 From: mtortonesi Date: Mon, 30 Jan 2006 00:46:16 -0800 Subject: [PATCH] [svn] Removed broken output file removal patch. --- src/init.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/init.c b/src/init.c index 26b52a57..820f84db 100644 --- a/src/init.c +++ b/src/init.c @@ -1427,15 +1427,7 @@ cleanup (void) /* Free external resources, close files, etc. */ if (output_stream) - { - fclose (output_stream); - if (opt.output_document - && !(total_downloaded_bytes > 0)) - { - unlink (opt.output_document); - } - } - + fclose (output_stream); /* No need to check for error because Wget flushes its output (and checks for errors) after any data arrives. */ -- 2.39.2