From d3ee83747c2423143acc912cb2ff3d8f8c428b3e Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 26 Oct 2007 19:26:41 +0000 Subject: Fixed a valgrind uninitialized variable error. --- lib/ftp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/ftp.c b/lib/ftp.c index 6ae3f8288..4083f3404 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; -- cgit v1.2.3