#endif /* CURL_PREFER_LF_LINEENDS */
-static CURLcode getftpresponse(struct Curl_easy *data, ssize_t *nread,
+static CURLcode getftpresponse(struct Curl_easy *data, size_t *nread,
int *ftpcode);
/***********************************************************************
struct connectdata *conn = data->conn;
curl_socket_t ctrl_sock = conn->sock[FIRSTSOCKET];
struct pingpong *pp = &ftpc->pp;
- ssize_t nread;
+ size_t nread;
int ftpcode;
bool response = FALSE;
*
*/
static CURLcode getftpresponse(struct Curl_easy *data,
- ssize_t *nreadp, /* return number of bytes
+ size_t *nreadp, /* return number of bytes
read */
int *ftpcodep) /* return the ftp-code */
{
struct FTP *ftp = Curl_meta_get(data, CURL_META_FTP_EASY);
struct ftp_conn *ftpc = Curl_conn_meta_get(data->conn, CURL_META_FTP_CONN);
struct pingpong *pp;
- ssize_t nread;
+ size_t nread;
int ftpcode;
CURLcode result = CURLE_OK;
item = quote;
while(item) {
if(item->data) {
- ssize_t nread;
+ size_t nread;
char *cmd = item->data;
bool acceptfail = FALSE;
CURLcode result;