*q = '\0';
}
- FTPSENDF(conn, "%s |%d|%s|%s|", *modep, eprtaf,
- portmsgbuf, tmp);
+ result = Curl_ftpsendf(conn, "%s |%d|%s|%s|", *modep, eprtaf,
+ portmsgbuf, tmp);
+ if(result)
+ return result;
} else if (strcmp(*modep, "LPRT") == 0 ||
strcmp(*modep, "PORT") == 0) {
int i;
}
}
- FTPSENDF(conn, "%s %s", *modep, portmsgbuf);
+ result = Curl_ftpsendf(conn, "%s %s", *modep, portmsgbuf);
+ if(result)
+ return result;
}
nread = Curl_GetFTPResponse(buf, conn, &ftpcode);