David McCreedy fixed a remaining mistake from the August 19 TYPE change.

This commit is contained in:
Daniel Stenberg
2006-08-22 21:23:25 +00:00
parent d792937686
commit bdbd0cf27a
3 changed files with 4 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
*nreadp = nread;
#ifdef CURL_DOES_CONVERSIONS
if(data->ftp_in_ascii_mode) {
if(data->set.prefer_ascii) {
CURLcode res;
res = Curl_convert_to_network(data, conn->upload_fromhere, nread);
/* Curl_convert_to_network calls failf if unsuccessful */