diff options
Diffstat (limited to 'lib/libfetch')
-rw-r--r-- | lib/libfetch/Makefile | 2 | ||||
-rw-r--r-- | lib/libfetch/fetch.3 | 10 |
2 files changed, 2 insertions, 10 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index e30b71f..f49c763 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -20,6 +20,8 @@ DPADD= ${LIBSSL} ${LIBCRYPTO} LDADD= -lssl -lcrypto .endif +CFLAGS+= -DFTP_COMBINE_CWDS + CSTD?= c99 WARNS?= 2 diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3 index b145bb0..26ea5a7 100644 --- a/lib/libfetch/fetch.3 +++ b/lib/libfetch/fetch.3 @@ -334,16 +334,6 @@ If no user name or password is given, the .Nm fetch library will attempt an anonymous login, with user name "anonymous" and password "anonymous@<hostname>". -.Pp -By default, -.Nm fetch -changes directories one at a time for the best compatibility with a wide -variety of servers. -If it is compiled with the -.Ql FTP_COMBINE_CWDS -flag, it will first try a single change directory command for the entire -path and fall back to the default scheme if an error occurred. -This can save latency when used with a slow network link. .Sh HTTP SCHEME The .Fn fetchXGetHTTP , |