summaryrefslogtreecommitdiff
path: root/libftpconn/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libftpconn/create.c')
-rw-r--r--libftpconn/create.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libftpconn/create.c b/libftpconn/create.c
index 93d9e57e..fa55c9de 100644
--- a/libftpconn/create.c
+++ b/libftpconn/create.c
@@ -58,16 +58,12 @@ ftp_conn_create (const struct ftp_conn_params *params,
else
err = 0;
- if (! err)
- err = ftp_conn_open (new);
-
if (err)
ftp_conn_free (new);
else
*conn = new;
return err;
-
}
/* Free the ftp connection CONN, closing it first, and freeing all resources