summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-07-30 07:53:27 +0000
committermarkus <markus@openbsd.org>2003-07-30 07:53:27 +0000
commit587318bdae67774fb89cfbdeb88ff1908beb10a8 (patch)
tree648ecf772c4efce980d3fc431de8467990b8b21e
parentuse only 4 digits in format_size (diff)
downloadwireguard-openbsd-587318bdae67774fb89cfbdeb88ff1908beb10a8.tar.xz
wireguard-openbsd-587318bdae67774fb89cfbdeb88ff1908beb10a8.zip
whitespace
-rw-r--r--usr.bin/ssh/progressmeter.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/progressmeter.c b/usr.bin/ssh/progressmeter.c
index b8bb49c31b6..c7eb64be7aa 100644
--- a/usr.bin/ssh/progressmeter.c
+++ b/usr.bin/ssh/progressmeter.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: progressmeter.c,v 1.11 2003/07/30 07:44:14 markus Exp $");
+RCSID("$OpenBSD: progressmeter.c,v 1.12 2003/07/30 07:53:27 markus Exp $");
#include "progressmeter.h"
#include "atomicio.h"
@@ -62,7 +62,6 @@ can_output(void)
return (getpgrp() == tcgetpgrp(STDOUT_FILENO));
}
-
static void
format_size(char *buf, int size, off_t bytes)
{
@@ -217,7 +216,7 @@ start_progress_meter(char *f, off_t filesize, off_t *stat)
} else
win_size = DEFAULT_WINSIZE;
win_size += 1; /* trailing \0 */
-
+
if (can_output())
refresh_progress_meter();
@@ -236,6 +235,6 @@ stop_progress_meter(void)
/* Ensure we complete the progress */
if (cur_pos != end_pos)
refresh_progress_meter();
-
+
atomicio(vwrite, STDOUT_FILENO, "\n", 1);
}