mirror of
https://github.com/curl/curl.git
synced 2026-07-25 02:37:18 +03:00
Fixed a valgrind uninitialized variable error.
This commit is contained in:
parent
3f55ed0ef7
commit
d3ee83747c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue