author | llornkcor <llornkcor> | 2002-03-24 14:14:49 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-24 14:14:49 (UTC) |
commit | 807ea39f3ccfbc26e769fc16a79d459327e13437 (patch) (unidiff) | |
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 | |||
@@ -49,25 +49,25 @@ | |||
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #define BUILDING_LIBRARY | 51 | #define BUILDING_LIBRARY |
52 | #include "ftplib.h" | 52 | #include "ftplib.h" |
53 | 53 | ||
54 | #if defined(_WIN32) | 54 | #if defined(_WIN32) |
55 | #define SETSOCKOPT_OPTVAL_TYPE (const char *) | 55 | #define SETSOCKOPT_OPTVAL_TYPE (const char *) |
56 | #else | 56 | #else |
57 | #define SETSOCKOPT_OPTVAL_TYPE (void *) | 57 | #define SETSOCKOPT_OPTVAL_TYPE (void *) |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | #define FTPLIB_BUFSIZ 8192 | 60 | #define FTPLIB_BUFSIZ 8192 |
61 | #define ACCEPT_TIMEOUT 30 | 61 | #define ACCEPT_TIMEOUT 15 |
62 | 62 | ||
63 | #define FTPLIB_CONTROL 0 | 63 | #define FTPLIB_CONTROL 0 |
64 | #define FTPLIB_READ 1 | 64 | #define FTPLIB_READ 1 |
65 | #define FTPLIB_WRITE 2 | 65 | #define FTPLIB_WRITE 2 |
66 | 66 | ||
67 | #if !defined FTPLIB_DEFMODE | 67 | #if !defined FTPLIB_DEFMODE |
68 | #define FTPLIB_DEFMODE FTPLIB_PASSIVE | 68 | #define FTPLIB_DEFMODE FTPLIB_PASSIVE |
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | struct NetBuf { | 71 | struct NetBuf { |
72 | char *cput,*cget; | 72 | char *cput,*cget; |
73 | int handle; | 73 | int handle; |