From ed72d4e104cb7bf5b279b21550bf20c420819534 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 9 Sep 2006 11:45:05 +0000 Subject: [PATCH] tab => space --- lib/ftp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ftp.c b/lib/ftp.c index e935691..562944c 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -228,7 +228,7 @@ static CURLcode AllowServerConnect(struct connectdata *conn) socklen_t size = (socklen_t) sizeof(add); if(0 == getsockname(sock, (struct sockaddr *) &add, &size)) { - size = sizeof(add); + size = sizeof(add); s=accept(sock, (struct sockaddr *) &add, &size); } @@ -1082,7 +1082,6 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, if(!addr) { /* pick a suitable default here */ - if (getsockname(conn->sock[FIRSTSOCKET], (struct sockaddr *)&sa, &sslen)) { failf(data, "getsockname() failed: %s", -- 2.7.4