diff options
author | David Coppa <dcoppa@cvs.openbsd.org> | 2014-01-29 16:58:22 +0000 |
---|---|---|
committer | David Coppa <dcoppa@cvs.openbsd.org> | 2014-01-29 16:58:22 +0000 |
commit | 5b2adb6a1f0b769fb46f7e9fa7c27dae8c6aded9 (patch) | |
tree | 6ea3047cda55be46bc44e12ab0801df0c409a54b /usr.bin | |
parent | 1ff037d3630c0f3bc8dfbb34b66099fef8c4067a (diff) |
Unbreak ftp progress meter after the introduction of the '-D' flag
ok tedu@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ftp/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ftp/util.c b/usr.bin/ftp/util.c index 39f1726becb..9d971f08806 100644 --- a/usr.bin/ftp/util.c +++ b/usr.bin/ftp/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.65 2014/01/23 00:39:15 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.66 2014/01/29 16:58:21 dcoppa Exp $ */ /* $NetBSD: util.c,v 1.12 1997/08/18 10:20:27 lukem Exp $ */ /*- @@ -811,7 +811,7 @@ progressmeter(int flag, const char *filename) dotdot); overhead += l + 1; } else - snprintf(buf, sizeof(buf), ""); + snprintf(buf, sizeof(buf), "\r"); if (!verbose && title != NULL) { int l = strlen(title); |