mirror of
https://github.com/mirror/wget.git
synced 2025-01-01 07:50:11 +08:00
* src/ftp-ls.c (ftp_parse_winnt_ls): Fix memset params
This commit is contained in:
parent
eba724a128
commit
15c1e0eb7b
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user