mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 12:05:06 -05:00
uninitialized variable
This commit is contained in:
parent
60f19269d0
commit
65b22480f4
@ -558,7 +558,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
|
|||||||
ssize_t nread;
|
ssize_t nread;
|
||||||
char *buf = data->state.buffer; /* this is our buffer */
|
char *buf = data->state.buffer; /* this is our buffer */
|
||||||
int ftpcode;
|
int ftpcode;
|
||||||
CURLcode result;
|
CURLcode result=CURLE_OK;
|
||||||
|
|
||||||
if(data->set.upload) {
|
if(data->set.upload) {
|
||||||
if((-1 != data->set.infilesize) && (data->set.infilesize != *ftp->bytecountp)) {
|
if((-1 != data->set.infilesize) && (data->set.infilesize != *ftp->bytecountp)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user