summaryrefslogtreecommitdiff
path: root/libftpconn
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-08-08 23:34:17 +0000
committerMiles Bader <miles@gnu.org>1997-08-08 23:34:17 +0000
commit1f3b3736147d49a67a1043c7c1f155eb48469101 (patch)
treef7088668171e51f5fec08ceb1b4cf20a2f68dab9 /libftpconn
parentc27585b05fb923b375c3888cf45edff1a641673d (diff)
(ftp_conn_create):
Don't open the connection here.
Diffstat (limited to 'libftpconn')
-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