summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-03-09 17:01:02 +0000
committermillert <millert@openbsd.org>2001-03-09 17:01:02 +0000
commitbca38c4f76508faf4e2326e9c6be06ccf4119be0 (patch)
tree857356f35077ee26c4f2afd0cc7c8b05e27851d5
parentTypo in Synopsis; there's a -v option, not -u (diff)
downloadwireguard-openbsd-bca38c4f76508faf4e2326e9c6be06ccf4119be0.tar.xz
wireguard-openbsd-bca38c4f76508faf4e2326e9c6be06ccf4119be0.zip
Add a missing newline in debug mode to separate debug output from
line containing command completion; "Brian J. Kifiak" <bk@rt.fm>
-rw-r--r--usr.bin/ftp/complete.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/ftp/complete.c b/usr.bin/ftp/complete.c
index 3932cb23eba..ba5f02e6d85 100644
--- a/usr.bin/ftp/complete.c
+++ b/usr.bin/ftp/complete.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: complete.c,v 1.9 1997/09/04 04:37:14 millert Exp $ */
+/* $OpenBSD: complete.c,v 1.10 2001/03/09 17:01:02 millert Exp $ */
/* $NetBSD: complete.c,v 1.10 1997/08/18 10:20:18 lukem Exp $ */
/*-
@@ -39,7 +39,7 @@
#ifndef SMALL
#ifndef lint
-static char rcsid[] = "$OpenBSD: complete.c,v 1.9 1997/09/04 04:37:14 millert Exp $";
+static char rcsid[] = "$OpenBSD: complete.c,v 1.10 2001/03/09 17:01:02 millert Exp $";
#endif /* not lint */
/*
@@ -255,6 +255,8 @@ complete_remote(word, list)
mflag = 1;
emesg = NULL;
+ if (debug)
+ (void)putc('\n', ttyout);
while ((cp = remglob(dummyargv, 0, &emesg)) != NULL) {
char *tcp;