* src/metalink.c (retrieve_from_metalink): Fix len in memset()

This commit is contained in:
Tim Rühsen 2017-03-31 13:15:27 +02:00
parent e89267fbbc
commit 02d40a4676

View File

@ -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);
}