aboutsummaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-28 09:19:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-28 09:19:35 +0000
commit09da2c176735ab52beb3731028f4dfd5fd321255 (patch)
treebe1ddd5ede7a79b0bb2ad47bebdeafdd362b46a9 /lib/security.c
parentae2ecfc5cb29b03364c76308617facf844487030 (diff)
fixed the missing getftpresponse edits
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/security.c b/lib/security.c
index c1ac5fdf8..63591f134 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -491,8 +491,7 @@ Curl_sec_login(struct connectdata *conn)
Curl_ftpsendf(conn,
"AUTH %s", (*m)->name);
/* wait for feedback */
- nread = Curl_GetFTPResponse(conn->firstsocket,
- conn->data->state.buffer, conn, NULL);
+ nread = Curl_GetFTPResponse(conn->data->state.buffer, conn, NULL);
if(nread < 0)
return /*CURLE_OPERATION_TIMEOUTED*/-1;
if(/*ret != CONTINUE*/conn->data->state.buffer[0] != '3'){