From: Dan Fandrich Date: Fri, 26 Oct 2007 19:26:41 +0000 (+0000) Subject: Fixed a valgrind uninitialized variable error. X-Git-Tag: curl-7_17_1~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3ee83747c2423143acc912cb2ff3d8f8c428b3e;p=thirdparty%2Fcurl.git Fixed a valgrind uninitialized variable error. --- diff --git a/lib/ftp.c b/lib/ftp.c index 6ae3f82880..4083f3404f 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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;