mirror of
https://github.com/mirror/wget.git
synced 2025-01-26 12:20:15 +08:00
* src/metalink.c (retrieve_from_metalink): Fix len in memset()
This commit is contained in:
parent
e89267fbbc
commit
02d40a4676
@ -491,7 +491,7 @@ retrieve_from_metalink (const metalink_t* metalink)
|
||||
|
||||
Bugfix: point output_stream to destname if it exists.
|
||||
*/
|
||||
memset(&flstats, 0, sizeof(&flstats));
|
||||
memset(&flstats, 0, sizeof(flstats));
|
||||
if (!output_stream && file_exists_p (destname, &flstats))
|
||||
output_stream = fopen_stat (destname, "ab", &flstats);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user