uninitialized variable
This commit is contained in:
Родитель
60f19269d0
Коммит
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)) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче