From 02d40a4676459fe452e57f9a2dae1c6ab67a9917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 31 Mar 2017 13:15:27 +0200 Subject: [PATCH] * src/metalink.c (retrieve_from_metalink): Fix len in memset() --- src/metalink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metalink.c b/src/metalink.c index 6bee3c9b..f11b7c1e 100644 --- a/src/metalink.c +++ b/src/metalink.c @@ -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); }