1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Fixed a valgrind uninitialized variable error.

This commit is contained in:
Dan Fandrich 2007-10-26 19:26:41 +00:00
parent 3f55ed0ef7
commit d3ee83747c

View File

@ -414,6 +414,7 @@ static CURLcode ftp_readresp(curl_socket_t sockfd,
int code = 0; int code = 0;
*ftpcode = 0; /* 0 for errors or not done */ *ftpcode = 0; /* 0 for errors or not done */
*size = 0;
ptr=buf + ftpc->nread_resp; ptr=buf + ftpc->nread_resp;