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

[svn] Removed broken output file removal patch.

This commit is contained in:
mtortonesi 2006-01-30 00:46:16 -08:00
parent f1b726490e
commit b15ddc5b71

View File

@ -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);
}
}
/* No need to check for error because Wget flushes its output (and
checks for errors) after any data arrives. */