From 15c1e0eb7b13cf45aa26b0b8337cc6563b3e8ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 9 Sep 2016 10:20:51 +0200 Subject: [PATCH] * src/ftp-ls.c (ftp_parse_winnt_ls): Fix memset params --- src/ftp-ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftp-ls.c b/src/ftp-ls.c index 3d062628..81cbe65e 100644 --- a/src/ftp-ls.c +++ b/src/ftp-ls.c @@ -478,7 +478,7 @@ ftp_parse_winnt_ls (const char *file) } /* Now it is possible to determine the position of the first symbol in filename. */ - memset(&cur, sizeof (cur), 0); + memset(&cur, 0, sizeof (cur)); cur.name = xstrdup(filename); DEBUGP (("Name: '%s'\n", cur.name));