projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ff573c
)
doing an ftp upload append that was already completed resulted in a
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 11:28:01 +0000
(11:28 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 11:28:01 +0000
(11:28 +0000)
"hang", it now results in an error instead
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index 3469c33b1827d48e95053b606d2d14346c2ceb56..88e7faf15b848abc0377a3812256468c8e794516 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-1062,8
+1062,8
@@
CURLcode _ftp(struct connectdata *conn)
data->infilesize -= data->resume_from;
if(data->infilesize <= 0) {
-
info
f(data, "File already completely uploaded\n");
- return CURLE_
OK
;
+
fail
f(data, "File already completely uploaded\n");
+ return CURLE_
FTP_COULDNT_STOR_FILE
;
}
}
/* we've passed, proceed as normal */