From b54faa93f923e0b56709e866d261bab08b08a75c Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sun, 16 Jan 2011 03:11:55 +0000 Subject: [PATCH] - vc++ compile fix --- source/shared_lib/sources/feathery_ftp/ftpRuntime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/feathery_ftp/ftpRuntime.c b/source/shared_lib/sources/feathery_ftp/ftpRuntime.c index 46d516ff..4fa06d4c 100644 --- a/source/shared_lib/sources/feathery_ftp/ftpRuntime.c +++ b/source/shared_lib/sources/feathery_ftp/ftpRuntime.c @@ -145,6 +145,7 @@ int ftpExecute(void) ftpSession_S *pSession=NULL; int sessionId=0; int activeJobs=0; + int len; if(ftpGetActiveTransCnt()) // don't block if there's still something to do { @@ -198,7 +199,6 @@ if(VERBOSE_MODE_ENABLED) printf("ERROR: Connection refused; Session limit reache if(ftpTestSocket(ctrlSocket)) { if(VERBOSE_MODE_ENABLED) printf("ftpExecute socket signalled = %d\n",ctrlSocket); - int len; socksRdy--; len = ftpReceive(ctrlSocket, &pSession->rxBuf[pSession->rxBufWriteIdx],