]> granicus.if.org Git - curl/commitdiff
fixed the missing getftpresponse edits
authorDaniel Stenberg <daniel@haxx.se>
Fri, 28 Sep 2001 09:19:35 +0000 (09:19 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 28 Sep 2001 09:19:35 +0000 (09:19 +0000)
lib/krb4.c
lib/security.c

index 26682cb3ad9812cd0e37ee6654dfcb4b1bae403c..ab8838fc84b8840e27d7f9d127bb2c37bdb61b3f 100644 (file)
@@ -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);
index c1ac5fdf871198a77f7aeb70b6245b5fccdba0b6..63591f1345b84b58a64f1cb35f7dd3b0a3ccc259 100644 (file)
@@ -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'){