aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-09-13 12:52:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-09-13 12:52:58 +0000
commit6d5b8b50e16ed8433384d39ecf45f3a36a1c4109 (patch)
tree6cd35c13c8c14c5a794c576e99e44763a9900eff
parent600d7b11e63bdba7ea9a784de18ef7b73ef98a2a (diff)
minor informatinal output changes
-rw-r--r--lib/ftp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index a84046d95..0f9aa3a1d 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -546,7 +546,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
else {
if((-1 != conn->size) && (conn->size != *ftp->bytecountp) &&
(conn->maxdownload != *ftp->bytecountp)) {
- failf(data, "Received only partial file");
+ failf(data, "Received only partial file: %d bytes", *ftp->bytecountp);
return CURLE_PARTIAL_FILE;
}
else if(!conn->bits.resume_done &&
@@ -1569,7 +1569,7 @@ CURLcode _ftp(struct connectdata *conn)
result = _ftp_getsize(conn, ftp->file, &foundsize);
if(CURLE_OK != result) {
- infof(data, "ftp server doesn't support SIZE");
+ infof(data, "ftp server doesn't support SIZE\n");
/* We couldn't get the size and therefore we can't know if there
really is a part of the file left to get, although the server
will just close the connection when we start the connection so it
@@ -1706,8 +1706,8 @@ CURLcode _ftp(struct connectdata *conn)
/* FTP download: */
result=Curl_Transfer(conn, conn->secondarysocket, size, FALSE,
- bytecountp,
- -1, NULL); /* no upload here */
+ bytecountp,
+ -1, NULL); /* no upload here */
if(result)
return result;
}