diff options
Diffstat (limited to 'libftpconn/create.c')
-rw-r--r-- | libftpconn/create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libftpconn/create.c b/libftpconn/create.c index 20a64561..0ffdb49a 100644 --- a/libftpconn/create.c +++ b/libftpconn/create.c @@ -54,7 +54,7 @@ ftp_conn_create (const struct ftp_conn_params *params, new->actv_data_addr = 0; new->cwd = 0; new->type = 0; - bzero (&new->syshooks, sizeof new->syshooks); + memset (&new->syshooks, 0, sizeof new->syshooks); if (new->hooks && new->hooks->init) err = (*new->hooks->init) (new); |