summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/ftp_var.h
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-07-08 21:07:58 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-07-08 21:07:58 +0000
commit66a9ee29034eff1ef97bd24b19f4535c46d34b39 (patch)
tree77b34a49e6173e9b4c9f16116a58c71b195c422f /usr.bin/ftp/ftp_var.h
parent7a3d395c69db3c8452efe68ea465fcf6112fd974 (diff)
- add support for recursive transfers (but not for floppies), e.g.
'mget -cr 4.*' would recursively fetch (-r), and resume the previous transfers (-c) of 4.X release directories uses local matching (fnmatch), but only for recursive transfers. current behavior is not changed in any way. - while here, ifndef SMALL debugging stuff, this saves some space, for floppies - some debugging code was enabled for non-debugging mode, checks assume debug is set to zero, but it's not initially set - all "Confirm with" prompts are forced, remove redundant argument - fix usage: -C and -c are not available for SMALL discussed a year ago w/ pyr@ looks good to millert@ previous version looked good to pyr@ man page tweaks & ok jmc@
Diffstat (limited to 'usr.bin/ftp/ftp_var.h')
-rw-r--r--usr.bin/ftp/ftp_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp_var.h b/usr.bin/ftp/ftp_var.h
index 8a2e9763145..05990783b3e 100644
--- a/usr.bin/ftp/ftp_var.h
+++ b/usr.bin/ftp/ftp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftp_var.h,v 1.26 2008/06/25 21:15:19 martynas Exp $ */
+/* $OpenBSD: ftp_var.h,v 1.27 2008/07/08 21:07:57 martynas Exp $ */
/* $NetBSD: ftp_var.h,v 1.18 1997/08/18 10:20:25 lukem Exp $ */
/*
@@ -110,7 +110,9 @@ int connected; /* 1 = connected to server, -1 = logged in */
int fromatty; /* input is from a terminal */
int interactive; /* interactively prompt on m* cmds */
int confirmrest; /* confirm rest of current m* cmd */
+#ifndef SMALL
int debug; /* debugging level */
+#endif /* !SMALL */
int bell; /* ring bell on cmd completion */
int doglob; /* glob local file names */
int autologin; /* establish user account on connection */