summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/cmdtab.c
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-06-25 21:15:20 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-06-25 21:15:20 +0000
commita85feb9cc10f0895358f0a480a20d3283a3ef3f2 (patch)
tree39af1f7c2f124ca6e163371f62f58c79ae59fd95 /usr.bin/ftp/cmdtab.c
parentc2d7eefaed6e79700d108fc23ad79d240836de16 (diff)
in resume mode, pass -c to mget when {dir,file}hasglob, so that i'm
able to continue multiple transfers with -C; ok millert@ while here fix some comments (!SMALL vs. SMALL stuff), and add missing
Diffstat (limited to 'usr.bin/ftp/cmdtab.c')
-rw-r--r--usr.bin/ftp/cmdtab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ftp/cmdtab.c b/usr.bin/ftp/cmdtab.c
index eef9f473ba8..07744ae4818 100644
--- a/usr.bin/ftp/cmdtab.c
+++ b/usr.bin/ftp/cmdtab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmdtab.c,v 1.21 2008/06/25 18:07:00 martynas Exp $ */
+/* $OpenBSD: cmdtab.c,v 1.22 2008/06/25 21:15:19 martynas Exp $ */
/* $NetBSD: cmdtab.c,v 1.17 1997/08/18 10:20:17 lukem Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#if !defined(lint) && !defined(SMALL)
-static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.21 2008/06/25 18:07:00 martynas Exp $";
+static const char rcsid[] = "$OpenBSD: cmdtab.c,v 1.22 2008/06/25 21:15:19 martynas Exp $";
#endif /* not lint and not SMALL */
#include <stdio.h>
@@ -127,11 +127,11 @@ char empty[] = "";
#define CMPL(x)
#define CMPL0
#define H(x) empty
-#else /* !SMALL */
+#else /* SMALL */
#define CMPL(x) __STRING(x),
#define CMPL0 "",
#define H(x) x
-#endif /* !SMALL */
+#endif /* SMALL */
struct cmd cmdtab[] = {
{ "!", H(shellhelp), 0, 0, 0, CMPL0 shell },