- some ftp bugfixes and cleanup on ftp client that have failed transfers

This commit is contained in:
Mark Vejvoda
2011-01-09 05:49:59 +00:00
parent 31be2df752
commit 912188679c
6 changed files with 31 additions and 11 deletions

View File

@@ -415,7 +415,8 @@ int ftpSelect(int poll)
if(poll)
{
struct timeval t = {0};
struct timeval t = {0};
t.tv_usec = 10000;
return select(maxSockNr+1, &signaledSockets, NULL, NULL, &t);
}
else

View File

@@ -446,7 +446,8 @@ int ftpSelect(int poll)
if(poll)
{
struct timeval t = {0};
struct timeval t = {0};
t.tv_usec = 10000;
return select(maxSockNr+1, &signaledSockets, NULL, NULL, &t);
}
else