summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-07-30 07:53:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-07-30 07:53:28 +0000
commit756a5da79011b8d0f3a79783fb8c8919be38b131 (patch)
tree91caede9fef4342b14918083485f4187539fda8b /usr.bin
parentde4e4cb835d53fa7b9a72144a19ef9d30c8eafd3 (diff)
whitespace
Diffstat (limited to 'usr.bin')
-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);
}