summaryrefslogtreecommitdiff
path: root/noncore/net/opieftp/ftplib.c
Unidiff
Diffstat (limited to 'noncore/net/opieftp/ftplib.c') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieftp/ftplib.c2
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
71struct NetBuf { 71struct NetBuf {
72 char *cput,*cget; 72 char *cput,*cget;
73 int handle; 73 int handle;