Commit 65b22480 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

uninitialized variable

parent 60f19269
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -558,7 +558,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
  ssize_t nread;
  char *buf = data->state.buffer; /* this is our buffer */
  int ftpcode;
  CURLcode result;
  CURLcode result=CURLE_OK;

  if(data->set.upload) {
    if((-1 != data->set.infilesize) && (data->set.infilesize != *ftp->bytecountp)) {