mirror of
https://github.com/mirror/wget.git
synced 2025-01-31 14:50:23 +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
|
/* Now it is possible to determine the position of the first symbol in
|
||||||
filename. */
|
filename. */
|
||||||
memset(&cur, sizeof (cur), 0);
|
memset(&cur, 0, sizeof (cur));
|
||||||
cur.name = xstrdup(filename);
|
cur.name = xstrdup(filename);
|
||||||
DEBUGP (("Name: '%s'\n", cur.name));
|
DEBUGP (("Name: '%s'\n", cur.name));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user