Commit d3ee8374 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Fixed a valgrind uninitialized variable error.

parent 3f55ed0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -414,6 +414,7 @@ static CURLcode ftp_readresp(curl_socket_t sockfd,
  int code = 0;

  *ftpcode = 0; /* 0 for errors or not done */
  *size = 0;

  ptr=buf + ftpc->nread_resp;