From 756a5da79011b8d0f3a79783fb8c8919be38b131 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Wed, 30 Jul 2003 07:53:28 +0000 Subject: whitespace --- usr.bin/ssh/progressmeter.c | 7 +++---- 1 file 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); } -- cgit v1.2.3