summaryrefslogtreecommitdiff
path: root/lib/krb4.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/krb4.c
parentae2ecfc5cb29b03364c76308617facf844487030 (diff)
downloadcurl-09da2c176735ab52beb3731028f4dfd5fd321255.tar.gz
fixed the missing getftpresponse edits
Diffstat (limited to 'lib/krb4.c')
-rw-r--r--lib/krb4.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/krb4.c b/lib/krb4.c
index 26682cb3a..ab8838fc8 100644
--- a/lib/krb4.c
+++ b/lib/krb4.c
@@ -247,8 +247,7 @@ krb4_auth(void *app_data, struct connectdata *conn)
Curl_ftpsendf(conn, "ADAT %s", p);
- 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;
free(p);
@@ -313,8 +312,7 @@ void Curl_krb_kauth(struct connectdata *conn)
save = Curl_set_command_prot(conn, prot_private);
- Curl_ftpsendf(conn,
- "SITE KAUTH %s", conn->data->state.user);
+ Curl_ftpsendf(conn, "SITE KAUTH %s", conn->data->state.user);
nread = Curl_GetFTPResponse(conn->data->state.buffer,
conn, NULL);