author | llornkcor <llornkcor> | 2002-03-24 14:14:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 14:14:49 (UTC) |
commit | 807ea39f3ccfbc26e769fc16a79d459327e13437 (patch) (side-by-side diff) | |
tree | fa25defd4f0d6f6630cecad2f7eb274dcac30db6 /noncore/net/opieftp/ftplib.c | |
parent | 5c17e8b168cf27ac2922e7c118cb886b116eab42 (diff) | |
download | opie-807ea39f3ccfbc26e769fc16a79d459327e13437.zip opie-807ea39f3ccfbc26e769fc16a79d459327e13437.tar.gz opie-807ea39f3ccfbc26e769fc16a79d459327e13437.tar.bz2 |
radnom fixes
-rw-r--r-- | noncore/net/opieftp/ftplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opieftp/ftplib.c b/noncore/net/opieftp/ftplib.c index b9ca746..5116170 100644 --- a/noncore/net/opieftp/ftplib.c +++ b/noncore/net/opieftp/ftplib.c @@ -37,49 +37,49 @@ #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #elif defined(VMS) #include <types.h> #include <socket.h> #include <in.h> #include <netdb.h> #include <inet.h> #elif defined(_WIN32) #include <winsock.h> #endif #define BUILDING_LIBRARY #include "ftplib.h" #if defined(_WIN32) #define SETSOCKOPT_OPTVAL_TYPE (const char *) #else #define SETSOCKOPT_OPTVAL_TYPE (void *) #endif #define FTPLIB_BUFSIZ 8192 -#define ACCEPT_TIMEOUT 30 +#define ACCEPT_TIMEOUT 15 #define FTPLIB_CONTROL 0 #define FTPLIB_READ 1 #define FTPLIB_WRITE 2 #if !defined FTPLIB_DEFMODE #define FTPLIB_DEFMODE FTPLIB_PASSIVE #endif struct NetBuf { char *cput,*cget; int handle; int cavail,cleft; char *buf; int dir; netbuf *ctrl; netbuf *data; int cmode; struct timeval idletime; FtpCallback idlecb; void *idlearg; int xfered; int cbbytes; int xfered1; |