Skip to content
Snippets Groups Projects
Commit 42d5f82b authored by rswindell's avatar rswindell
Browse files

Initializes ftp->addrtype.

parent 1c455c6e
No related branches found
No related tags found
No related merge requests found
...@@ -614,6 +614,7 @@ ftp_login_session(FTP_t ftp, char *host, ...@@ -614,6 +614,7 @@ ftp_login_session(FTP_t ftp, char *host,
return FAILURE; return FAILURE;
} }
ftp->addrtype = addr.sin_family;
ftp->fd_ctrl = s; ftp->fd_ctrl = s;
ftp->con_state = isopen; ftp->con_state = isopen;
ftp->is_verbose = verbose; ftp->is_verbose = verbose;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment